diff options
author | Andrew Dolgov <[email protected]> | 2011-12-11 19:37:42 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-12-11 19:37:42 +0400 |
commit | 170532b7a1f1bdc8624d2f9e2e837cdcb74ce6b2 (patch) | |
tree | 7debd7fbef47ac419982b72d597322c04e614829 | |
parent | 7871db1dc10630069ff67c8e215ed8352662bc3c (diff) | |
parent | aea655489ccd1472794de190a03b2d3b2b4bf8e9 (diff) |
Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS
-rw-r--r-- | functions.php | 7 | ||||
-rw-r--r-- | modules/pref-users.php | 2 |
2 files changed, 1 insertions, 8 deletions
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 "<li class=\"$row_class\">$feed_icon <a href=\"".$line["site_url"]."\">".$line["title"]."</a></li>"; - $row_class = toggleEvenOdd($row_class); + $row_class = $row_class == "even" ? "odd" : "even"; } |