diff options
Diffstat (limited to 'lib/class/art.class.php')
-rw-r--r-- | lib/class/art.class.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/class/art.class.php b/lib/class/art.class.php index c18c9313..0e23463f 100644 --- a/lib/class/art.class.php +++ b/lib/class/art.class.php @@ -552,10 +552,10 @@ class Art extends database_object { /** - * clean + * gc * This cleans up art that no longer has a corresponding object */ - public static function clean() { + public static function gc() { // iterate over our types and delete the images foreach (array('album', 'artist') as $type) { $sql = "DELETE FROM `image` USING `image` LEFT JOIN `" . @@ -564,7 +564,7 @@ class Art extends database_object { $type . "' AND `" . $type . "`.`id` IS NULL"; $db_results = Dba::write($sql); } // foreach - } // clean + } /** * gather |