1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 01:39:28 +02:00

Use latest php-cs-fixer version

This commit is contained in:
Afterster 2015-07-29 21:59:12 +02:00
parent 356b8f1e43
commit 47a6585c88
298 changed files with 7977 additions and 4559 deletions

View file

@ -27,7 +27,9 @@ UI::show_header();
// Switch on Action
switch ($_REQUEST['action']) {
case 'delete':
if (AmpConfig::get('demo_mode')) { break; }
if (AmpConfig::get('demo_mode')) {
break;
}
$song_id = scrub_in($_REQUEST['song_id']);
show_confirmation(
@ -39,7 +41,9 @@ switch ($_REQUEST['action']) {
);
break;
case 'confirm_delete':
if (AmpConfig::get('demo_mode')) { break; }
if (AmpConfig::get('demo_mode')) {
break;
}
$song = new Song($_REQUEST['song_id']);
if (!Catalog::can_remove($song)) {