- Update to 5.0.0 Too many changes to list here. See instead: https://matomo.org/changelog/matomo-5-0-0/ - Rebase matomo-package_update.patch OBS-URL: https://build.opensuse.org/request/show/1134019 OBS-URL: https://build.opensuse.org/package/show/network:utilities/matomo?expand=0&rev=122
18 lines
891 B
Diff
18 lines
891 B
Diff
Index: matomo/plugins/CoreUpdater/Commands/Update.php
|
|
===================================================================
|
|
--- matomo.orig/plugins/CoreUpdater/Commands/Update.php
|
|
+++ matomo/plugins/CoreUpdater/Commands/Update.php
|
|
@@ -79,8 +79,11 @@ 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
|