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:
icewind1991 2014-01-31 08:47:19 -08:00
commit cf6538abde
1 changed files with 1 additions and 1 deletions

View File

@ -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();