From 21871e8d17385885961c9b0319757f259bdb6f74 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Sun, 27 Jan 2008 19:16:01 +0000 Subject: added in the rating images from greengeek, removed some useless functions, tweaked working on update to correctly reflect limitations --- lib/general.lib.php | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'lib/general.lib.php') diff --git a/lib/general.lib.php b/lib/general.lib.php index f79153b7..e43736e5 100644 --- a/lib/general.lib.php +++ b/lib/general.lib.php @@ -231,26 +231,6 @@ function set_memory_limit($new_limit) { } // set_memory_limit -/** - * cleanup_and_exit - * used specificly for the play/index.php file - * this functions nukes now playing and then exits - * @package Streaming - * @catagory Clean - */ -function cleanup_and_exit($playing_id) { - - /* Clear now playing */ - // 900 = 15 min - $expire = time() - 900; - $sql = "DELETE FROM now_playing WHERE now_playing.id='$lastid' OR now_playing.start_time < $expire"; - - $db_results = @mysql_query($sql, dbh()); - - exit(); - -} // cleanup_and_exit - /** * get_global_popular * this function gets the current globally popular items -- cgit