]> source.dussan.org Git - nextcloud-server.git/commitdiff
whitespace indentation fix
authorFlorian Hülsmann <fh@cbix.de>
Wed, 28 Mar 2012 14:12:34 +0000 (16:12 +0200)
committerFlorian Hülsmann <fh@cbix.de>
Wed, 28 Mar 2012 14:12:34 +0000 (16:12 +0200)
apps/user_webfinger/appinfo/install.php

index 9ba953a4e602e03d1812715a814cd0935796318c..775141dce41388e3e3f50eaba0f75af34871e3dc 100644 (file)
@@ -5,32 +5,32 @@ $appsDir = dirname($thisAppDir);
 $ownCloudDir = dirname($appsDir);
 $docRoot = $_SERVER['DOCUMENT_ROOT'];
 if(file_exists($docRoot . '/.well-known/host-meta')) {
-       OC_Log::write(
-               'user_webfinger',
-               $docRoot . "/.well-known already exists; installation aborted",
-               OC_Log::ERROR
-       );
+    OC_Log::write(
+        'user_webfinger',
+        $docRoot . "/.well-known already exists; installation aborted",
+        OC_Log::ERROR
+    );
 } else {
-       if(@symlink($thisAppDir, $docRoot . '/.well-known')) {
-               OC_Log::write(
-                       'user_webfinger',
-                       "Webfinger symlink created at " . $docRoot . "/.well-known",
-                       OC_Log::INFO
-               );
-       } else {
-               if(@symlink($thisAppDir, $ownCloudDir . '/.well-known')) {
-                       OC_Log::write(
-                               'user_webfinger',
-                               "Couldn't create webfinger symlink in document root, linked to " . $ownCloudDir . "/.well-known instead",
-                               OC_Log::WARN
-                       );
-               } else {
-                       OC_Log::write(
-                               'user_webfinger',
-                               "Couldn't create webfinger symlink, either check write permissions or create the link manually!",
-                               OC_Log::ERROR
-                       );
-               }
-       }
+    if(@symlink($thisAppDir, $docRoot . '/.well-known')) {
+        OC_Log::write(
+            'user_webfinger',
+            "Webfinger symlink created at " . $docRoot . "/.well-known",
+            OC_Log::INFO
+        );
+    } else {
+        if(@symlink($thisAppDir, $ownCloudDir . '/.well-known')) {
+            OC_Log::write(
+                'user_webfinger',
+                "Couldn't create webfinger symlink in document root, linked to " . $ownCloudDir . "/.well-known instead",
+                OC_Log::WARN
+            );
+        } else {
+            OC_Log::write(
+                'user_webfinger',
+                "Couldn't create webfinger symlink, either check write permissions or create the link manually!",
+                OC_Log::ERROR
+            );
+        }
+    }
 }
 ?>