aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-05-14 00:28:22 +0200
committerRobin Appelman <icewind@owncloud.com>2012-05-14 00:28:28 +0200
commite7c106d91e9970b95061eaa2812a0d0c5be72526 (patch)
tree174f7c63e504da6a5364bdad03514f8ce3e76972 /apps/files
parent0fb90fa87568fc12e1f05d45c53ef9cf88991ba6 (diff)
downloadnextcloud-server-e7c106d91e9970b95061eaa2812a0d0c5be72526.tar.gz
nextcloud-server-e7c106d91e9970b95061eaa2812a0d0c5be72526.zip
selective app loading for remote/public
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/appinfo/info.xml3
-rw-r--r--apps/files/appinfo/remote.php1
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/files/appinfo/info.xml b/apps/files/appinfo/info.xml
index 76a06a0cb4b..92d0a50814e 100644
--- a/apps/files/appinfo/info.xml
+++ b/apps/files/appinfo/info.xml
@@ -8,6 +8,9 @@
<require>2</require>
<standalone/>
<default_enable/>
+ <types>
+ <filesystem/>
+ </types>
<remote>
<files>appinfo/remote.php</files>
<webdav>appinfo/remote.php</webdav>
diff --git a/apps/files/appinfo/remote.php b/apps/files/appinfo/remote.php
index 465e0c0a935..b66843556bb 100644
--- a/apps/files/appinfo/remote.php
+++ b/apps/files/appinfo/remote.php
@@ -24,6 +24,7 @@
*/
// only need filesystem apps
$RUNTIME_APPTYPES=array('filesystem','authentication');
+OC_App::loadApps($RUNTIME_APPTYPES);
// Backends
$authBackend = new OC_Connector_Sabre_Auth();