Skip to content
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

Re-add backwards compatibility for URLs using old UserSettings plugin. #8941

Merged
merged 3 commits into from Oct 8, 2015

Conversation

diosmosis
Copy link
Member

As title. Includes system tests so BC break will be detected in the future. And includes tweaks to UI tests for more coverage.

Fixes #8923

@diosmosis diosmosis added c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. Needs Review PRs that need a code review labels Oct 7, 2015
@diosmosis diosmosis added this to the 2.15.0 milestone Oct 7, 2015
@@ -78,7 +78,7 @@
* @return bool
*/
function Piwik_ShouldPrintBackTraceWithMessage()
{
{return true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

@@ -49,4 +50,33 @@ public function extendVisitorDetails(&$visitor, $details)
$visitor['browserVersion'] = $instance->getBrowserVersion();
}

public function renameUserSettingsModuleAndAction(&$module, &$action)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove it again in Piwik 3.0 maybe? We could add a reminder to remove it in DeprecatedMethodsTest

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added to DeprecatedMethodsTest.

diosmosis added 3 commits October 8, 2015 09:54
… + add test coverage so BC break will be detected in the future.
…dMethodsTest so they will be removed in 3.0.
@diosmosis
Copy link
Member Author

Ready for another review/merge.

mattab pushed a commit that referenced this pull request Oct 8, 2015
Re-add backwards compatibility for URLs using old UserSettings plugin.
@mattab mattab merged commit 4432578 into master Oct 8, 2015
@mattab mattab deleted the 8923_usersettings_bc branch October 8, 2015 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants