From: Andreas Fischer Date: Thu, 8 Aug 2013 23:21:45 +0000 (+0200) Subject: Changing elseif statement to what the PEAR coding guidelines say. X-Git-Tag: v6.0.0alpha2~333^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=43be3eb4d0112215f03157c81f9f94e03009718f;p=nextcloud-server.git Changing elseif statement to what the PEAR coding guidelines say. --- diff --git a/lib/l10n.php b/lib/l10n.php index 5cfe119a4ff..f93443b886a 100644 --- a/lib/l10n.php +++ b/lib/l10n.php @@ -386,8 +386,7 @@ class OC_L10N { case 'time': if($data instanceof DateTime) { return $data->format($this->localizations[$type]); - } - elseif(is_string($data) && !is_numeric($data)) { + } elseif(is_string($data) && !is_numeric($data)) { $data = strtotime($data); } $locales = array(self::findLanguage());