diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-25 20:49:16 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-25 20:49:16 -0500 |
commit | cad1380737f7ffcfa82d46ab3066823435a48a5d (patch) | |
tree | e64277b52b26bc549c66e08f8f662279da08fa6e /templates | |
parent | 80f4859712b433d8cee1158951efc19e939224f4 (diff) | |
download | ampache-cad1380737f7ffcfa82d46ab3066823435a48a5d.tar.gz ampache-cad1380737f7ffcfa82d46ab3066823435a48a5d.tar.bz2 ampache-cad1380737f7ffcfa82d46ab3066823435a48a5d.zip |
Move duplicate searching from Catalog to Song
Catalog::get_duplicate_songs() -> Song::find_duplicates()
Catalog::get_duplicate_info() -> Song::get_duplicate_info()
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_duplicates.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/show_duplicates.inc.php b/templates/show_duplicates.inc.php index 46de64f8..612a1ff6 100644 --- a/templates/show_duplicates.inc.php +++ b/templates/show_duplicates.inc.php @@ -46,9 +46,9 @@ <?php foreach ($duplicates as $item) { // Gather the duplicates - $songs = Catalog::get_duplicate_info($item,$search_type); + $songs = Song::get_duplicate_info($item, $search_type); - foreach ($songs as $key=>$song_id) { + foreach ($songs as $key => $song_id) { $song = new Song($song_id); $song->format(); $row_key = 'duplicate_' . $song_id; |