diff options
author | diosmosis <diosmosis@users.noreply.github.com> | 2019-12-08 22:00:47 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2019-12-08 22:00:47 +0300 |
commit | 67603110cfddb4be170470efbd5d10716c58e465 (patch) | |
tree | 60246216c3150be6055df35b11f322995ab8bb31 /core/Plugin/ControllerAdmin.php | |
parent | 4570111a71cb989215113d1e6d61cd8b35ad7836 (diff) |
do not check licenses in development mode since it has no cache (#15245)
Diffstat (limited to 'core/Plugin/ControllerAdmin.php')
-rw-r--r-- | core/Plugin/ControllerAdmin.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Plugin/ControllerAdmin.php b/core/Plugin/ControllerAdmin.php index 82b5e2e4cf..be2f5a977e 100644 --- a/core/Plugin/ControllerAdmin.php +++ b/core/Plugin/ControllerAdmin.php @@ -56,6 +56,10 @@ abstract class ControllerAdmin extends Controller return; } + if (Development::isEnabled()) { + return; + } + $expired = StaticContainer::get('Piwik\Plugins\Marketplace\Plugins\InvalidLicenses'); $messageLicenseMissing = $expired->getMessageNoLicense(); |