Skip to content

Removes deprecated javascript methods broadcast.init, broadcast.propagateAjax and broadcast.pageLoad #20610

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Apr 20, 2023

Description:

The methods had been marked as deprecated and don't seem to be in use anymore.

@diosmosis Guess they got obsolete with the vue migration. Would you mind having a quick look and maybe propose an update to the documentation around that: https://developer.matomo.org/guides/working-with-piwiks-ui
It mentions that the full broadcast object is deprecated and the AngularJS location service should be used instead. I'm unsure if this deprecation is till in place or if the MatomoURL vue component should be used?

Review

@sgiehl sgiehl added the Needs Review PRs that need a code review label Apr 20, 2023
@sgiehl sgiehl added this to the 5.0.0 milestone Apr 20, 2023
@sgiehl sgiehl requested a review from diosmosis April 20, 2023 14:27
@diosmosis
Copy link
Member

diosmosis commented Apr 21, 2023

@sgiehl the code looks fine, re the documentation, yes the MatomoUrl class should be used. Created a PR for the docs here: matomo-org/developer-documentation#713

@sgiehl sgiehl merged commit 7d28774 into 5.x-dev Apr 21, 2023
@sgiehl sgiehl deleted the removedeprecations branch April 21, 2023 07:34
@sgiehl sgiehl removed the Needs Review PRs that need a code review label May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants