summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-01-25 20:49:16 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-01-25 20:49:16 -0500
commitcad1380737f7ffcfa82d46ab3066823435a48a5d (patch)
treee64277b52b26bc549c66e08f8f662279da08fa6e /templates
parent80f4859712b433d8cee1158951efc19e939224f4 (diff)
downloadampache-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.php4
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;