summaryrefslogtreecommitdiffstats
path: root/lib/general.lib.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-01-27 19:16:01 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-01-27 19:16:01 +0000
commit21871e8d17385885961c9b0319757f259bdb6f74 (patch)
treed526236b4ff7b97bc78d666281537bf8b8b337f1 /lib/general.lib.php
parentf9831bdcd090dbf67ab7262f1e0fcef58ec1e880 (diff)
downloadampache-21871e8d17385885961c9b0319757f259bdb6f74.tar.gz
ampache-21871e8d17385885961c9b0319757f259bdb6f74.tar.bz2
ampache-21871e8d17385885961c9b0319757f259bdb6f74.zip
added in the rating images from greengeek, removed some useless functions, tweaked working on update to correctly reflect limitations
Diffstat (limited to 'lib/general.lib.php')
-rw-r--r--lib/general.lib.php20
1 files changed, 0 insertions, 20 deletions
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