summaryrefslogtreecommitdiffstats
path: root/lib/general.lib.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-02 04:57:56 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-02 04:57:56 +0000
commit9457b75fb16f05347c08b484db6fe2b848efba15 (patch)
tree18245ab1b8a2fc7953c9fc04e541d46791737ec8 /lib/general.lib.php
parentd54efca7bd1ee28683506b452f58742f8a8f678f (diff)
downloadampache-9457b75fb16f05347c08b484db6fe2b848efba15.tar.gz
ampache-9457b75fb16f05347c08b484db6fe2b848efba15.tar.bz2
ampache-9457b75fb16f05347c08b484db6fe2b848efba15.zip
fixed some catalog update issues, fixed some genre pages and made the sql sort stuff for show songs work
Diffstat (limited to 'lib/general.lib.php')
-rw-r--r--lib/general.lib.php21
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/general.lib.php b/lib/general.lib.php
index a8bc18d6..03855ad8 100644
--- a/lib/general.lib.php
+++ b/lib/general.lib.php
@@ -534,27 +534,6 @@ function tbl_name($table) {
} // tbl_name
/**
- * clear_catalog_stats()
- *
- * Use this to clear the stats for the entire Ampache server.
- * @package Catalog
- * @catagory Clear
- */
-function clear_catalog_stats() {
-
- $dbh = dbh();
-
- /* Wipe out the object_count table */
- $sql = "TRUNCATE object_count";
- $results = mysql_query($sql, $dbh);
-
- /* Set every song to unplayed */
- $sql = "UPDATE song SET played='0'";
- $results = mysql_query($sql, $dbh);
-
-} // clear_catalog_stats
-
-/**
* scrub_out
* This function is used to escape user data that is getting redisplayed
* onto the page, it htmlentities the mojo