[Pkg-owncloud-commits] [owncloud] 11/70: reset collection to 'root' after adding a route to the api
David Prévot
taffit at moszumanska.debian.org
Mon Jul 14 17:38:03 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 195cf273f857d55f8b499cd872ab8e2d885b0891
Author: Jörn Friedrich Dreyer <jfd at butonic.de>
Date: Tue Jul 1 14:21:20 2014 +0200
reset collection to 'root' after adding a route to the api
---
lib/private/api.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/private/api.php b/lib/private/api.php
index e9c1445..75d87b3 100644
--- a/lib/private/api.php
+++ b/lib/private/api.php
@@ -72,6 +72,7 @@ class OC_API {
->requirements($requirements)
->action('OC_API', 'call');
self::$actions[$name] = array();
+ OC::$server->getRouter()->useCollection('root');
}
self::$actions[$name][] = array('app' => $app, 'action' => $action, 'authlevel' => $authLevel);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list