diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2018-11-11 03:43:22 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2018-11-11 03:43:22 +0300 |
commit | ca95a672bd06e39abbd6b9b7174cb03f6f392005 (patch) | |
tree | acd8a36503711caf9c901d1825f9a45865d6be13 | |
parent | 6c0b49387d58768d0cbbd0a50ea1b4b4b83b15e1 (diff) |
Fix wrong Site class is used which may not be available in build (#13693)
See https://github.com/matomo-org/matomo/commit/2d2abcc9576079a8496ad8bd4a038ba07cf1fb2b#r31248004
-rw-r--r-- | plugins/CoreAdminHome/Tasks.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CoreAdminHome/Tasks.php b/plugins/CoreAdminHome/Tasks.php index 0d051f5b6c..80560dde48 100644 --- a/plugins/CoreAdminHome/Tasks.php +++ b/plugins/CoreAdminHome/Tasks.php @@ -25,7 +25,7 @@ use Piwik\Scheduler\Schedule\Daily; use Piwik\Scheduler\Schedule\Monthly; use Piwik\Scheduler\Schedule\SpecificTime; use Piwik\Settings\Storage\Backend\MeasurableSettingsTable; -use Piwik\Tests\Framework\Mock\Site; +use Piwik\Site; use Piwik\Tracker\Visit\ReferrerSpamFilter; use Psr\Log\LoggerInterface; use Piwik\SettingsPiwik; @@ -231,4 +231,4 @@ class Tasks extends \Piwik\Plugin\Tasks { return !Rules::isRequestAuthorizedToArchive(); } -}
\ No newline at end of file +} |