From 97bcd214044e30b5078052ee0c523b63966d6833 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Mon, 26 May 2008 08:28:09 +0000 Subject: added direct links back in, added batch download to single artist view, removed useless cruft --- lib/class/database_object.abstract.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/class/database_object.abstract.php') diff --git a/lib/class/database_object.abstract.php b/lib/class/database_object.abstract.php index 5aaf6cac..871232ea 100644 --- a/lib/class/database_object.abstract.php +++ b/lib/class/database_object.abstract.php @@ -36,10 +36,10 @@ abstract class database_object { * this checks the cache to see if the specified object is there */ public static function is_cached($index,$id) { + + $is_cached = isset(self::$object_cache[$index][$id]); - $is_array = isset(self::$object_cache[$index][$id]); - - return $is_array; + return $is_cached; } // is_cached -- cgit