fixing error in initialization of TagManager

This commit is contained in:
Thomas Müller 2013-09-27 17:08:48 +02:00
parent 687ba053b7
commit adff34cb8a
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class Server extends SimpleContainer implements IServerContainer {
});
$this->registerService('TagManager', function($c) {
$user = \OC_User::getUser();
return new Tags($user);
return new TagManager($user);
});
$this->registerService('RootFolder', function($c) {
// TODO: get user and user manager from container as well