diff options
author | Stefan Giehl <stefan@piwik.org> | 2018-07-10 22:44:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-10 22:44:52 +0300 |
commit | 4b88aa24c9c85c45340ca854c812c21014d86dc2 (patch) | |
tree | e1f279d3d4faa5d3ac00a523dff360e9abec3fe0 /plugins/MobileMessaging | |
parent | a4c01fe919de7c5696e3c06d2c066085e08ec255 (diff) |
Disables some more feature if internet features are disabled (#13076)
* Disable GeoIP update tasks if no internet connection available
* Show GeoLocation Auto Updater UI only with enabled internet connection
* Throw exception if Marketplace is used without enabled internet features
* Hide Marketplace menu entry if internet is disabled
* Implements new plugin class method requiresInternetConnection, to automatically unloaded plugins if required
* Improve how plugins not working without internet connection are shown in plugin list
* Adds UI test
* typo 'whether'
Diffstat (limited to 'plugins/MobileMessaging')
-rw-r--r-- | plugins/MobileMessaging/MobileMessaging.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/MobileMessaging/MobileMessaging.php b/plugins/MobileMessaging/MobileMessaging.php index 04d5eef215..42783ea0e8 100644 --- a/plugins/MobileMessaging/MobileMessaging.php +++ b/plugins/MobileMessaging/MobileMessaging.php @@ -82,6 +82,11 @@ class MobileMessaging extends \Piwik\Plugin ); } + public function requiresInternetConnection() + { + return true; + } + /** * Get JavaScript files */ |