From d86e605fedaf05e280bb027cc2b583406b3490c6 Mon Sep 17 00:00:00 2001 From: Paul Arthur Date: Sat, 26 Jan 2013 00:31:36 -0500 Subject: Drop unused Catalog::get_catalog_ids() --- lib/class/catalog.class.php | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'lib/class/catalog.class.php') diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php index 39ce9451..86ae20a8 100644 --- a/lib/class/catalog.class.php +++ b/lib/class/catalog.class.php @@ -173,23 +173,6 @@ class Catalog extends database_object { } // get_catalogs - /** - * get_catalog_ids - * This returns an array of all catalog ids - */ - public static function get_catalog_ids() { - - $sql = "SELECT `id` FROM `catalog`"; - $db_results = Dba::read($sql); - - while ($r = Dba::fetch_assoc($db_results)) { - $results[] = $r['id']; - } - - return $results; - - } // get_catalog_ids - /** * get_stats * This returns an hash with the #'s for the different -- cgit