diff options
Diffstat (limited to 'app/functions.php')
-rw-r--r-- | app/functions.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/app/functions.php b/app/functions.php index 9bb7a8c8..fe6e6757 100644 --- a/app/functions.php +++ b/app/functions.php @@ -41,14 +41,3 @@ function dt($format, $timestamp) { return Translator::getInstance()->datetime($format, $timestamp); } - -/** - * Handle plurals, return $t2 if $value > 1 - * - * @todo Improve this function - * @return mixed - */ -function p($value, $t1, $t2) -{ - return $value > 1 ? $t2 : $t1; -} |