diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-10-19 21:05:41 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-10-19 21:05:41 -0400 |
commit | 7303a79b503dde63c627675ce4155f96c4e4dbd3 (patch) | |
tree | 91f2d7bcfc228bc5218ff8e2db2d7b9a2c19475c /app/functions.php | |
parent | 43cffe282868ff5c32804c34b31baaa1317f5a8e (diff) |
Cleanup and minor fixes
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; -} |