summaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2012-11-01 16:58:06 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2012-11-01 16:58:06 +0100
commit01bd0efc36d2557196444a382ae701b4da8c4dd9 (patch)
tree92eed6f8d980790fb64057372bc33933136d945b /apps/files/appinfo
parentf50c043cfbd149beadc5b14c79b42baead9713ca (diff)
parent553b1072b66034c7bc97e44af5701c418ca2999f (diff)
downloadnextcloud-server-01bd0efc36d2557196444a382ae701b4da8c4dd9.tar.gz
nextcloud-server-01bd0efc36d2557196444a382ae701b4da8c4dd9.zip
Merge branch 'master' into navigation
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r--apps/files/appinfo/filesync.php4
-rw-r--r--apps/files/appinfo/remote.php6
2 files changed, 6 insertions, 4 deletions
diff --git a/apps/files/appinfo/filesync.php b/apps/files/appinfo/filesync.php
index c1fe444cec7..47fc6fb4de6 100644
--- a/apps/files/appinfo/filesync.php
+++ b/apps/files/appinfo/filesync.php
@@ -20,8 +20,8 @@
* The final URL will look like http://.../remote.php/filesync/oc_chunked/path/to/file
*/
-// only need filesystem apps
-$RUNTIME_APPTYPES=array('filesystem','authentication');
+// load needed apps
+$RUNTIME_APPTYPES=array('filesystem','authentication','logging');
OC_App::loadApps($RUNTIME_APPTYPES);
if(!OC_User::isLoggedIn()) {
if(!isset($_SERVER['PHP_AUTH_USER'])) {
diff --git a/apps/files/appinfo/remote.php b/apps/files/appinfo/remote.php
index 9c7b9ab6d5b..f12430f24dd 100644
--- a/apps/files/appinfo/remote.php
+++ b/apps/files/appinfo/remote.php
@@ -22,8 +22,9 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*/
-// only need filesystem apps
-$RUNTIME_APPTYPES=array('filesystem', 'authentication');
+// load needed apps
+$RUNTIME_APPTYPES=array('filesystem','authentication','logging');
+
OC_App::loadApps($RUNTIME_APPTYPES);
// Backends
@@ -41,6 +42,7 @@ $server->setBaseUri($baseuri);
$server->addPlugin(new Sabre_DAV_Auth_Plugin($authBackend, 'ownCloud'));
$server->addPlugin(new Sabre_DAV_Locks_Plugin($lockBackend));
$server->addPlugin(new Sabre_DAV_Browser_Plugin(false)); // Show something in the Browser, but no upload
+$server->addPlugin(new OC_Connector_Sabre_QuotaPlugin());
// And off we go!
$server->exec();