Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
matomo
matomo-package_update.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File matomo-package_update.patch of Package matomo
Index: matomo/plugins/CoreUpdater/Commands/Update.php =================================================================== --- matomo.orig/plugins/CoreUpdater/Commands/Update.php +++ matomo/plugins/CoreUpdater/Commands/Update.php @@ -79,7 +79,12 @@ class Update extends ConsoleCommand $this->writeSuccessMessage(array(Piwik::translate('CoreUpdater_DbUpgradeNotExecuted'))); } + // Only show if autoupdate is enabled. Don't show if update through distribution package update. + $enableAutoUpdate = (bool) Config::getInstance()->General['enable_auto_update']; + if ($enableAutoUpdate === true){ $this->writeAlertMessageWhenCommandExecutedWithUnexpectedUser(); + } + } catch (NoUpdatesFoundException $e) { // Do not fail if no updates were found $this->writeSuccessMessage(array($e->getMessage()));
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor