summaryrefslogtreecommitdiffstats
path: root/lib/private/l10n.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-18 16:17:15 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-18 16:35:19 +0200
commitccf47f40aac167f25b7537b3819b99d6c59bc92e (patch)
tree3d6529319d53f269241c00d5ef5a15dc57aa91f8 /lib/private/l10n.php
parent8cb0d97b1099561d7f9a059f3ba8105a2c719aab (diff)
downloadnextcloud-server-ccf47f40aac167f25b7537b3819b99d6c59bc92e.tar.gz
nextcloud-server-ccf47f40aac167f25b7537b3819b99d6c59bc92e.zip
Remove unused variables
* should make scrutinizer a lot more happy * reduces maybe memory footprint
Diffstat (limited to 'lib/private/l10n.php')
-rw-r--r--lib/private/l10n.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/private/l10n.php b/lib/private/l10n.php
index 59f26423afa..b070a299a16 100644
--- a/lib/private/l10n.php
+++ b/lib/private/l10n.php
@@ -391,13 +391,10 @@ class OC_L10N implements \OCP\IL10N {
switch($type) {
case 'date':
return Punic\Calendar::formatDate($value, $width, $locale);
- break;
case 'datetime':
return Punic\Calendar::formatDatetime($value, $width, $locale);
- break;
case 'time':
return Punic\Calendar::formatTime($value, $width, $locale);
- break;
default:
return false;
}