diff --git a/functions.php b/functions.php index 16672a9ee..29489b40f 100644 --- a/functions.php +++ b/functions.php @@ -2273,13 +2273,6 @@ } } - function toggleEvenOdd($a) { - if ($a == "even") - return "odd"; - else - return "even"; - } - // Session caching removed due to causing wrong redirects to upgrade // script when get_schema_version() is called on an obsolete session // created on a previous schema version. diff --git a/modules/pref-users.php b/modules/pref-users.php index 8586abf2d..984b2c55b 100644 --- a/modules/pref-users.php +++ b/modules/pref-users.php @@ -83,7 +83,7 @@ print "
  • $feed_icon ".$line["title"]."
  • "; - $row_class = toggleEvenOdd($row_class); + $row_class = $row_class == "even" ? "odd" : "even"; }