]> source.dussan.org Git - nextcloud-server.git/commitdiff
Changing elseif statement to what the PEAR coding guidelines say.
authorAndreas Fischer <bantu@owncloud.com>
Thu, 8 Aug 2013 23:21:45 +0000 (01:21 +0200)
committerAndreas Fischer <bantu@owncloud.com>
Fri, 9 Aug 2013 20:32:38 +0000 (22:32 +0200)
lib/l10n.php

index 5cfe119a4ffee5499fe4517bbc1c7eb829533a41..f93443b886a52e1794e2f39c5a14e13c2f588d7a 100644 (file)
@@ -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());