summaryrefslogtreecommitdiffstats
path: root/admin/catalog.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-30 19:20:19 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-30 19:20:19 +0000
commit6eeea6fbcdd9a8a40bbcb94c767572e12a845551 (patch)
treee0e26e2473cb79722b62de0a5c4dd014addf51ac /admin/catalog.php
parentc3aa64634e6ed040c6001b4bf43cf0411b632b5d (diff)
downloadampache-6eeea6fbcdd9a8a40bbcb94c767572e12a845551.tar.gz
ampache-6eeea6fbcdd9a8a40bbcb94c767572e12a845551.tar.bz2
ampache-6eeea6fbcdd9a8a40bbcb94c767572e12a845551.zip
new sql file and catalog fixes and user reg clean up and acl typo fix
Diffstat (limited to 'admin/catalog.php')
-rw-r--r--admin/catalog.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/admin/catalog.php b/admin/catalog.php
index 19ef1d3b..7f65767b 100644
--- a/admin/catalog.php
+++ b/admin/catalog.php
@@ -63,30 +63,6 @@ switch ($_REQUEST['action']) {
$body = '';
show_confirmation($title,$body,$url);
break;
- case _("Add to all Catalogs"):
- if (conf('demo_mode')) { break; }
-
- /* If they are using the file MPD type, and it's currently enabled lets do a DBRefresh for em
- if (conf('mpd_method') == 'file' AND conf('allow_mpd_playback')) {
- // Connect to the MPD
- if (!class_exists('mpd')) { require_once(conf('prefix') . "/modules/mpd/mpd.class.php"); }
- if (!is_object($myMpd)) { $myMpd = new mpd(conf('mpd_host'),conf('mpd_port')); }
- if (!$myMpd->connected) {
- echo "<font class=\"error\">" . _("Error Connecting") . ": " . $myMpd->errStr . "</font>\n";
- log_event($_SESSION['userdata']['username'],' connection_failed ',"Error: Unable able to connect to MPD, " . $myMpd->errStr);
- } // MPD connect failed
-
- $myMpd->DBRefresh();
- } // if MPD enabled
- //FIXME: File Method no longer exists... leaving this in for a bit
- */
- $catalogs = $catalog->get_catalogs();
-
- foreach ($catalogs as $data) {
- $data->add_to_catalog($_REQUEST['update_type']);
- }
- include(conf('prefix') . '/templates/catalog.inc');
- break;
case 'update_all_catalogs':
$catalog = new Catalog();
$_REQUEST['catalogs'] = $catalog->get_catalog_ids();