From f991948a714dd555befa46964113c460afc24cee Mon Sep 17 00:00:00 2001
From: Bart Visscher <bartv@thisnet.nl>
Date: Sat, 5 May 2012 21:58:07 +0200
Subject: [PATCH] Fix loading by apptype in webdav

---
 apps/files/appinfo/remote.php | 5 +----
 files/webdav.php              | 5 +----
 lib/app.php                   | 2 +-
 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;
 		}
-- 
GitLab