summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2012-12-21 00:04:46 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2012-12-21 00:04:58 +0100
commit986f5d9f3e330f52a068ba916a10ea938a80ad41 (patch)
tree4c7ea2bc4d871d290ac495cc49072c2509542fe0 /lib
parent84ba66e9b7fb954da99b248b4baacb469290f8ab (diff)
downloadnextcloud-server-986f5d9f3e330f52a068ba916a10ea938a80ad41.tar.gz
nextcloud-server-986f5d9f3e330f52a068ba916a10ea938a80ad41.zip
fixing variable name
Diffstat (limited to 'lib')
-rw-r--r--lib/public/util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/util.php b/lib/public/util.php
index 9727cfda284..af782b01483 100644
--- a/lib/public/util.php
+++ b/lib/public/util.php
@@ -202,8 +202,8 @@ class Util {
public static function getDefaultEmailAddress($user_part) {
$host_name = self::getServerHostName();
// handle localhost installations
- if ($server_host === 'localhost') {
- $server_host = "example.com";
+ if ($host_name === 'localhost') {
+ $host_name = "example.com";
}
return $user_part.'@'.$host_name;
}