]> source.dussan.org Git - nextcloud-server.git/commit
Clear enabled apps cache after loading authentication app
authorVincent Petry <pvince81@owncloud.com>
Thu, 9 Oct 2014 11:22:14 +0000 (13:22 +0200)
committerVincent Petry <pvince81@owncloud.com>
Thu, 9 Oct 2014 12:34:41 +0000 (14:34 +0200)
commit36d22825e0797eedd1c239a70bbb385fa8ac7042
tree221d31c4dd0d72716c338d49b23b9db28da715bf
parent0474a20ab9d21327a9fab8e463eb74b91a198c31
Clear enabled apps cache after loading authentication app

Since getEnabledApps() depends on an authentication app to be loaded,
especially in the case of LDAP, the cache from getEnabledApps() is now
cleared to make sure that subsequent calls will properly return apps
that were enabled for groups.
This is because getEnabledApps() uses the inGroups() function from the
group manager provided by LDAP or any other authentication app.
lib/private/app.php