summaryrefslogtreecommitdiffstats
path: root/lib/public/util.php
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-01-18 20:09:03 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-01-18 20:09:03 +0100
commit5ff29b4348a1dcb9ed32273133b1c787aaf5c72c (patch)
tree8d92b51087544ab02a459fc32d01b110cce48f28 /lib/public/util.php
parente560cba76beb918a2c127b931b6d409abd9f03ab (diff)
downloadnextcloud-server-5ff29b4348a1dcb9ed32273133b1c787aaf5c72c.tar.gz
nextcloud-server-5ff29b4348a1dcb9ed32273133b1c787aaf5c72c.zip
fixing indent
Diffstat (limited to 'lib/public/util.php')
-rw-r--r--lib/public/util.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/public/util.php b/lib/public/util.php
index 2dcf11faa75..c4ac2715f31 100644
--- a/lib/public/util.php
+++ b/lib/public/util.php
@@ -203,7 +203,7 @@ class Util {
$host_name = self::getServerHostName();
// handle localhost installations
if ($host_name === 'localhost') {
- $host_name = "example.com";
+ $host_name = "example.com";
}
return $user_part.'@'.$host_name;
}
@@ -368,13 +368,13 @@ class Util {
return(\OC_Helper::recursiveArraySearch($haystack, $needle, $index));
}
- /**
- * @brief calculates the maximum upload size respecting system settings, free space and user quota
- *
- * @param $dir the current folder where the user currently operates
- * @return number of bytes representing
- */
- public static function maxUploadFilesize($dir) {
- return \OC_Helper::maxUploadFilesize($dir);
- }
+ /**
+ * @brief calculates the maximum upload size respecting system settings, free space and user quota
+ *
+ * @param $dir the current folder where the user currently operates
+ * @return number of bytes representing
+ */
+ public static function maxUploadFilesize($dir) {
+ return \OC_Helper::maxUploadFilesize($dir);
+ }
}