From 9457b75fb16f05347c08b484db6fe2b848efba15 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Mon, 2 Jul 2007 04:57:56 +0000 Subject: fixed some catalog update issues, fixed some genre pages and made the sql sort stuff for show songs work --- lib/general.lib.php | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'lib/general.lib.php') 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 @@ -533,27 +533,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 -- cgit