diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-01-31 15:12:21 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-01-31 15:12:21 +0100 |
commit | 0d9fe770f36c9aac53c41a6c8430bb68751937bb (patch) | |
tree | c8dc9c3a09ebeb4da9ba1e51a5b07cec23325369 /lib | |
parent | 1a24bf46251e2065c6583aa0b1a4ed49d326f09b (diff) | |
download | nextcloud-server-0d9fe770f36c9aac53c41a6c8430bb68751937bb.tar.gz nextcloud-server-0d9fe770f36c9aac53c41a6c8430bb68751937bb.zip |
Mark an app as loaded before we start loading it
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/app.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/app.php b/lib/private/app.php index 0c60557914a..da09021cf3f 100644 --- a/lib/private/app.php +++ b/lib/private/app.php @@ -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(); |