diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 00:31:36 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 00:31:36 -0500 |
commit | d86e605fedaf05e280bb027cc2b583406b3490c6 (patch) | |
tree | 1d20ad2b5e95d213418d5cba7dc6bf4ce0e77cf6 /lib/class | |
parent | e2d3c948002076e73772c707b00c6c7aa6745029 (diff) | |
download | ampache-d86e605fedaf05e280bb027cc2b583406b3490c6.tar.gz ampache-d86e605fedaf05e280bb027cc2b583406b3490c6.tar.bz2 ampache-d86e605fedaf05e280bb027cc2b583406b3490c6.zip |
Drop unused Catalog::get_catalog_ids()
Diffstat (limited to 'lib/class')
-rw-r--r-- | lib/class/catalog.class.php | 17 |
1 files changed, 0 insertions, 17 deletions
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 @@ -174,23 +174,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 * objects that are associated with this catalog. This is used |