From 10288d9d5f5faf4d87cdce8924d89734eee1169f Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 24 Sep 2018 15:37:44 +0200 Subject: Remove unused even_odd function Signed-off-by: Florian Pritz --- application/helpers/filebin_helper.php | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'application/helpers/filebin_helper.php') diff --git a/application/helpers/filebin_helper.php b/application/helpers/filebin_helper.php index d42b2ad87..a62577065 100644 --- a/application/helpers/filebin_helper.php +++ b/application/helpers/filebin_helper.php @@ -46,21 +46,6 @@ function format_bytes($size) } } -function even_odd($reset = false) -{ - static $counter = 1; - - if ($reset) { - $counter = 1; - } - - if ($counter++%2 == 0) { - return 'even'; - } else { - return 'odd'; - } -} - // Source: http://hu.php.net/manual/en/function.str-pad.php#71558 // This is a multibyte enabled str_pad function mb_str_pad($ps_input, $pn_pad_length, $ps_pad_string = " ", $pn_pad_type = STR_PAD_RIGHT, $ps_encoding = NULL) -- cgit v1.2.3-24-g4f1b