mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Changing elseif statement to what the PEAR coding guidelines say.
This commit is contained in:
parent
9c22046bff
commit
43be3eb4d0
1 changed files with 1 additions and 2 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in a new issue