diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2019-06-17 07:42:33 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2019-06-17 07:42:33 +0300 |
commit | ed267097edc29349ec8482fdfac86b47bc23c660 (patch) | |
tree | 1ad560f8fef5219075e33ba5c999241cdc87f94c /plugins/CoreAdminHome | |
parent | 824204a88d80b229df3708d1edcf5416eeb2ea44 (diff) |
fix no data message may not be shown when deleteLogs is enabled (#14526)
* fix no data message may not be shown when deleteLogs is enabled
* apply review feedback making it simpler
* Adding tests.
Diffstat (limited to 'plugins/CoreAdminHome')
-rw-r--r-- | plugins/CoreAdminHome/Tasks.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreAdminHome/Tasks.php b/plugins/CoreAdminHome/Tasks.php index 136dfdf7e0..fd21b0301c 100644 --- a/plugins/CoreAdminHome/Tasks.php +++ b/plugins/CoreAdminHome/Tasks.php @@ -112,7 +112,7 @@ class Tasks extends \Piwik\Plugin\Tasks { $this->rememberTrackingCodeReminderRan($idSite); - if (!SitesManager::hasTrackedAnyTraffic($idSite)) { + if (SitesManager::hasTrackedAnyTraffic($idSite)) { return; } |