From 7303a79b503dde63c627675ce4155f96c4e4dbd3 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Mon, 19 Oct 2015 21:05:41 -0400 Subject: Cleanup and minor fixes --- app/functions.php | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'app/functions.php') 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; -} -- cgit v1.2.3