Merge pull request #7025 from owncloud/prevent-double-app-load
Mark an app as loaded before we start loading it
This commit is contained in:
commit
cf6538abde
|
@ -63,8 +63,8 @@ class OC_App{
|
|||
ob_start();
|
||||
foreach( $apps as $app ) {
|
||||
if((is_null($types) or self::isType($app, $types)) && !in_array($app, self::$loadedApps)) {
|
||||
self::loadApp($app);
|
||||
self::$loadedApps[] = $app;
|
||||
self::loadApp($app);
|
||||
}
|
||||
}
|
||||
ob_end_clean();
|
||||
|
|
Loading…
Reference in New Issue