Skip to content

Commit

Permalink
re-add Filesystem::$loaded for backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Sep 19, 2014
1 parent 59d8360 commit 256d87e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/private/files/filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ class Filesystem {
*/
static public $activeUser;

static public $loaded;

/**
* classname which used for hooks handling
* used as signalclass in OC_Hooks::emit()
Expand Down
1 change: 1 addition & 0 deletions lib/private/server.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ function __construct() {
$user = $userSession->getUser();
$factory = $c->getFilesystemFactory();
\OC\Files\Filesystem::$activeUser = $user;
\OC\Files\Filesystem::$loaded = true;
return $factory->createRoot();
});
$this->registerService('UserManager', function ($c) {
Expand Down

0 comments on commit 256d87e

Please sign in to comment.