diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-08 21:37:49 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-08 21:37:49 +0000 |
commit | 7634fe3b04fadd8aa6c17dcd78d4e5f268492ec9 (patch) | |
tree | 9bc2555e461dd6e25df573ccd6b9e99ade500d33 /lib | |
parent | d2d40fdd0f1701bec29a9de2da2b467d74747956 (diff) | |
download | ampache-7634fe3b04fadd8aa6c17dcd78d4e5f268492ec9.tar.gz ampache-7634fe3b04fadd8aa6c17dcd78d4e5f268492ec9.tar.bz2 ampache-7634fe3b04fadd8aa6c17dcd78d4e5f268492ec9.zip |
few more fixes to sort files script
Diffstat (limited to 'lib')
-rw-r--r-- | lib/class/catalog.class.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php index e7b6357b..538696e9 100644 --- a/lib/class/catalog.class.php +++ b/lib/class/catalog.class.php @@ -1190,13 +1190,15 @@ class Catalog { $this->clean_stats(); $this->clean_playlists(); $this->clean_flagged(); - $this->clean_genres(); - + ;$this->clean_genres(); + /* Return dead files, so they can be listed */ echo "<b>" . _("Catalog Clean Done") . " [" . count($dead_files) . "] " . _("files removed") . "</b><br />\n"; flush(); return $dead_files; + $this->count = 0; + } //clean_catalog /** @@ -1571,6 +1573,10 @@ class Catalog { echo "Update Finished. Checked $this->count. $total_updated songs updated.<br /><br />"; + $this->count = 0; + + return true; + } //verify_catalog |