summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-01-25 21:08:24 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-01-25 21:45:47 -0500
commit1069d54c85149ff1cb51563d6a1fc471695f8b47 (patch)
treee5c22762ef4d6c90dcdb3646a04de26e21ad071c /admin
parentcad1380737f7ffcfa82d46ab3066823435a48a5d (diff)
downloadampache-1069d54c85149ff1cb51563d6a1fc471695f8b47.tar.gz
ampache-1069d54c85149ff1cb51563d6a1fc471695f8b47.tar.bz2
ampache-1069d54c85149ff1cb51563d6a1fc471695f8b47.zip
Move clean functions into their respective classes
Uniformly name them gc()
Diffstat (limited to 'admin')
-rw-r--r--admin/flag.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/flag.php b/admin/flag.php
index 9cce736d..9f3d0c28 100644
--- a/admin/flag.php
+++ b/admin/flag.php
@@ -118,7 +118,7 @@ switch ($_REQUEST['action']) {
} // end foreach songs
// Clean out the old album
- $catalog->clean_albums();
+ Album::gc();
show_confirmation(T_('Album Updated'),'',Config::get('web_path') . '/admin/index.php');
@@ -160,7 +160,7 @@ switch ($_REQUEST['action']) {
} // end foreach songs
// Clean out the old artist(s)
- $catalog->clean_artists();
+ Artist::gc();
show_confirmation(T_('Artist Updated'),'',Config::get('web_path') . '/admin/index.php');