Mark an app as loaded before we start loading it

This commit is contained in:
Robin Appelman 2014-01-31 15:12:21 +01:00
parent 1a24bf4625
commit 0d9fe770f3
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();