diff --git a/lib/base.php b/lib/base.php
index cbcbdd2ad03d2dab84c528a31235c5de52c7b963..a145fd1cf232a19597586d2dc445a66af4244b39 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -51,7 +51,7 @@ class OC{
 	 */
 	public static $THIRDPARTYWEBROOT = '';
 	/**
-	 * The installation path array of the apps folder on the server (e.g. /srv/http/owncloud) 'path' and 
+	 * The installation path array of the apps folder on the server (e.g. /srv/http/owncloud) 'path' and
 	 * web path in 'url'
 	 */
 	public static $APPSROOTS = array();
@@ -95,7 +95,7 @@ class OC{
 		}else{
 			return false;
 		}
-		
+
 		if($fullPath = stream_resolve_include_path($path)) {
 			require_once $path;
 		}
@@ -533,10 +533,10 @@ class OC{
 		}
 
 		OC_App::loadApps();
-		
+
 		//setup extra user backends
 		OC_User::setupBackends();
-		
+
 		if(OC_User::login($_POST["user"], $_POST["password"])) {
 			if(!empty($_POST["remember_login"])) {
 				if(defined("DEBUG") && DEBUG) {
diff --git a/lib/db.php b/lib/db.php
index 2f36416d0a6ec399f217fdebdb09dee54e77fbfe..bd3afe2b06eee0a72079aaa868a0069a6a9e794f 100644
--- a/lib/db.php
+++ b/lib/db.php
@@ -411,7 +411,7 @@ class OC_DB {
 		 if( $CONFIG_DBTYPE == 'pgsql' ) { //mysql support it too but sqlite doesn't
 				 $content = str_replace( '<default>0000-00-00 00:00:00</default>', '<default>CURRENT_TIMESTAMP</default>', $content );
 		 }
-		 
+
 		file_put_contents( $file2, $content );
 
 		// Try to create tables
diff --git a/lib/l10n.php b/lib/l10n.php
index 0421e4eba88e54f46b4ae59970b69436e6b5e52e..f8274126136ca8b4c17fca005258d6ad3e46b5b8 100644
--- a/lib/l10n.php
+++ b/lib/l10n.php
@@ -113,9 +113,9 @@ class OC_L10N{
 			$i18ndir = self::findI18nDir($app);
 			// Localization is in /l10n, Texts are in $i18ndir
 			// (Just no need to define date/time format etc. twice)
-			if((OC_Helper::issubdirectory($i18ndir.$lang.'.php', OC_App::getAppPath($app).'/l10n/') || 
-				OC_Helper::issubdirectory($i18ndir.$lang.'.php', OC::$SERVERROOT.'/core/l10n/') || 
-				OC_Helper::issubdirectory($i18ndir.$lang.'.php', OC::$SERVERROOT.'/lib/l10n/') || 
+			if((OC_Helper::issubdirectory($i18ndir.$lang.'.php', OC_App::getAppPath($app).'/l10n/') ||
+				OC_Helper::issubdirectory($i18ndir.$lang.'.php', OC::$SERVERROOT.'/core/l10n/') ||
+				OC_Helper::issubdirectory($i18ndir.$lang.'.php', OC::$SERVERROOT.'/lib/l10n/') ||
 				OC_Helper::issubdirectory($i18ndir.$lang.'.php', OC::$SERVERROOT.'/settings')) && file_exists($i18ndir.$lang.'.php')) {
 				// Include the file, save the data from $CONFIG
 				include(strip_tags($i18ndir).strip_tags($lang).'.php');
diff --git a/lib/user.php b/lib/user.php
index 305fb8ed3a2d412b47d78112a85528ded5139080..236478e9e5c2515f47a3bca027ed7aaefd7557da 100644
--- a/lib/user.php
+++ b/lib/user.php
@@ -39,7 +39,7 @@
 class OC_User {
 	// The backend used for user management
 	private static $_usedBackends = array();
-	
+
 	private static $_setupedBackends = array();
 
 	// Backends available (except database)