summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-05-05 21:58:07 +0200
committerBart Visscher <bartv@thisnet.nl>2012-05-05 21:58:10 +0200
commitf991948a714dd555befa46964113c460afc24cee (patch)
treeb88393f2a30e6d9ae2c25740b12ec24d93f0e4f2
parentef9511c713980faecc65b898b15a50163218cbaa (diff)
downloadnextcloud-server-f991948a714dd555befa46964113c460afc24cee.tar.gz
nextcloud-server-f991948a714dd555befa46964113c460afc24cee.zip
Fix loading by apptype in webdav
-rw-r--r--apps/files/appinfo/remote.php5
-rw-r--r--files/webdav.php5
-rw-r--r--lib/app.php2
3 files changed, 3 insertions, 9 deletions
diff --git a/apps/files/appinfo/remote.php b/apps/files/appinfo/remote.php
index 3ac0023fb84..defb97ab152 100644
--- a/apps/files/appinfo/remote.php
+++ b/apps/files/appinfo/remote.php
@@ -25,12 +25,9 @@
// Do not load FS ...
$RUNTIME_NOSETUPFS = true;
-require_once('../lib/base.php');
-
// only need filesystem apps
$RUNTIME_APPTYPES=array('filesystem','authentication');
-
-
+require_once('../lib/base.php');
// Backends
$authBackend = new OC_Connector_Sabre_Auth();
diff --git a/files/webdav.php b/files/webdav.php
index 3ed687041ca..7624ccbbc72 100644
--- a/files/webdav.php
+++ b/files/webdav.php
@@ -25,12 +25,9 @@
// Do not load FS ...
$RUNTIME_NOSETUPFS = true;
-require_once('../lib/base.php');
-
// only need filesystem apps
$RUNTIME_APPTYPES=array('filesystem','authentication');
-
-
+require_once('../lib/base.php');
// Backends
$authBackend = new OC_Connector_Sabre_Auth();
diff --git a/lib/app.php b/lib/app.php
index c8d3826bca5..f274194b25c 100644
--- a/lib/app.php
+++ b/lib/app.php
@@ -49,7 +49,7 @@ class OC_App{
* if $types is set, only apps of those types will be loaded
*/
public static function loadApps($types=null){
- // Did we allready load everything?
+ // Did we already load everything?
if( self::$init ){
return true;
}