summaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-04-15 20:03:00 +0200
committerRobin Appelman <icewind@owncloud.com>2014-04-15 20:03:00 +0200
commitc82adb8c5db01d6a49c4364f7eecb2931f59cfa1 (patch)
tree2c18fa58b47ff03aa3f872a1c13c0b2fe4968fed /apps/files/appinfo
parent371a924c92bb751b81e2a819d8c581743be7a797 (diff)
parent2eeab60378a3e22e19c4f435aa2bf65cc9da7c2a (diff)
downloadnextcloud-server-c82adb8c5db01d6a49c4364f7eecb2931f59cfa1.tar.gz
nextcloud-server-c82adb8c5db01d6a49c4364f7eecb2931f59cfa1.zip
merge master into webdav-injection
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r--apps/files/appinfo/remote.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/files/appinfo/remote.php b/apps/files/appinfo/remote.php
index 1b2d144da5c..c1baee4f1ef 100644
--- a/apps/files/appinfo/remote.php
+++ b/apps/files/appinfo/remote.php
@@ -22,12 +22,6 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*/
-// load needed apps
-$RUNTIME_APPTYPES = array('filesystem', 'authentication', 'logging');
-
-OC_App::loadApps($RUNTIME_APPTYPES);
-
-OC_Util::obEnd();
// Backends
$authBackend = new OC_Connector_Sabre_Auth();
@@ -44,6 +38,7 @@ $server->setBaseUri($baseuri);
$defaults = new OC_Defaults();
$server->addPlugin(new Sabre_DAV_Auth_Plugin($authBackend, $defaults->getName()));
$server->addPlugin(new Sabre_DAV_Locks_Plugin($lockBackend));
+$server->addPlugin(new Sabre_DAV_Browser_Plugin(false));
$server->addPlugin(new OC_Connector_Sabre_FilesPlugin());
$server->addPlugin(new OC_Connector_Sabre_MaintenancePlugin());
$server->addPlugin(new OC_Connector_Sabre_ExceptionLoggerPlugin('webdav'));