summaryrefslogtreecommitdiffstats
path: root/admin/duplicates.php
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 /admin/duplicates.php
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 'admin/duplicates.php')
-rw-r--r--admin/duplicates.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/duplicates.php b/admin/duplicates.php
index e06cf84e..4eb6ebb2 100644
--- a/admin/duplicates.php
+++ b/admin/duplicates.php
@@ -33,7 +33,7 @@ show_header();
switch ($_REQUEST['action']) {
case 'find_duplicates':
$search_type = Dba::escape($_REQUEST['search_type']);
- $duplicates = Catalog::get_duplicate_songs($search_type);
+ $duplicates = Song::find_duplicates($search_type);
require_once Config::get('prefix') . '/templates/show_duplicate.inc.php';
require_once Config::get('prefix') . '/templates/show_duplicates.inc.php';
break;