diff options
author | Andreas Fischer <bantu@owncloud.com> | 2013-08-09 01:21:45 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@owncloud.com> | 2013-08-09 22:32:38 +0200 |
commit | 43be3eb4d0112215f03157c81f9f94e03009718f (patch) | |
tree | 484f6d3acb3b337c77d026663a9ff3981fdf1705 | |
parent | 9c22046bffac523e1eff12d7eff7409c786de176 (diff) | |
download | nextcloud-server-43be3eb4d0112215f03157c81f9f94e03009718f.tar.gz nextcloud-server-43be3eb4d0112215f03157c81f9f94e03009718f.zip |
Changing elseif statement to what the PEAR coding guidelines say.
-rw-r--r-- | lib/l10n.php | 3 |
1 files changed, 1 insertions, 2 deletions
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()); |