mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue