summaryrefslogtreecommitdiffstats
path: root/application/helpers
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-09-24 15:37:44 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-09-24 15:37:44 +0200
commit10288d9d5f5faf4d87cdce8924d89734eee1169f (patch)
tree7d867eeaa4f572cf4912d3cd2a5d0152145ad7e1 /application/helpers
parent2df9918d5dd3fe70ebecdcaf062944f4b04bcbb3 (diff)
Remove unused even_odd function
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/helpers')
-rw-r--r--application/helpers/filebin_helper.php15
1 files changed, 0 insertions, 15 deletions
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)