Mark an app as loaded before we start loading it
This commit is contained in:
parent
1a24bf4625
commit
0d9fe770f3
|
@ -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