diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-10-09 17:20:05 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-10-09 17:20:05 +0200 |
commit | c82e310e202265dcc9ce78e1a50639ae5ee03c30 (patch) | |
tree | a8722a54bf1b59e6c795760bfc72d0d986b08d68 /lib/private | |
parent | 0de60c51a126c04ded02ce6d089e08bd7432a14a (diff) | |
parent | 36d22825e0797eedd1c239a70bbb385fa8ac7042 (diff) | |
download | nextcloud-server-c82e310e202265dcc9ce78e1a50639ae5ee03c30.tar.gz nextcloud-server-c82e310e202265dcc9ce78e1a50639ae5ee03c30.zip |
Merge pull request #11495 from owncloud/apps-clearenableappscacheafterloadingauthapp
Clear enabled apps cache after loading authentication app
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/app.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/app.php b/lib/private/app.php index 1d406fb967e..a356139044c 100644 --- a/lib/private/app.php +++ b/lib/private/app.php @@ -93,6 +93,13 @@ class OC_App { throw new \OC\NeedsUpdateException(); } require_once $app . '/appinfo/app.php'; + if (self::isType($app, array('authentication'))) { + // since authentication apps affect the "is app enabled for group" check, + // the enabled apps cache needs to be cleared to make sure that the + // next time getEnableApps() is called it will also include apps that were + // enabled for groups + self::$enabledAppsCache = array(); + } } } |