fix(deps): update dependency friendsofphp/php-cs-fixer to <3.17.1 (main) (#2556)
* fix(deps): update dependency friendsofphp/php-cs-fixer to <3.17.1 * style(legacy): format using php-cs-fixer --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: jo <ljonas@riseup.net>
This commit is contained in:
parent
734f8baeb4
commit
8b41302ddd
24 changed files with 62 additions and 114 deletions
|
@ -590,9 +590,6 @@ class ApiController extends Zend_Controller_Action
|
|||
* New API endpoint to display metadata from any single track.
|
||||
*
|
||||
* Find metadata to any track imported (eg. id=1&return=json)
|
||||
*
|
||||
* @param int $id track ID
|
||||
* @param string $return json, artwork_data, or artwork
|
||||
*/
|
||||
public function trackAction()
|
||||
{
|
||||
|
|
|
@ -253,7 +253,7 @@ class PlaylistController extends Zend_Controller_Action
|
|||
Logging::info("Currently active {$type} {$obj_sess->id}");
|
||||
if (in_array($obj_sess->id, $ids)) {
|
||||
Logging::info("Deleting currently active {$type}");
|
||||
// Application_Model_Library::changePlaylist(null, $type);
|
||||
// Application_Model_Library::changePlaylist(null, $type);
|
||||
} else {
|
||||
Logging::info("Not deleting currently active {$type}");
|
||||
$obj = new $objInfo['className']($obj_sess->id);
|
||||
|
@ -562,7 +562,7 @@ class PlaylistController extends Zend_Controller_Action
|
|||
$bl->saveSmartBlockCriteria($params['data']);
|
||||
$this->createUpdateResponse($bl, true);
|
||||
$this->view->result = 0;
|
||||
// $result['html'] = $this->createFullResponse($bl, true, true);
|
||||
// $result['html'] = $this->createFullResponse($bl, true, true);
|
||||
} else {
|
||||
$this->view->form = $form;
|
||||
$this->view->unsavedName = $params['name'];
|
||||
|
@ -601,7 +601,7 @@ class PlaylistController extends Zend_Controller_Action
|
|||
$result = $bl->generateSmartBlock($params['data']);
|
||||
$this->view->result = $result['result'];
|
||||
$this->createUpdateResponse($bl, true);
|
||||
// $this->_helper->json->sendJson(array("result"=>0, "html"=>$this->createFullResponse($bl, true, true)));
|
||||
// $this->_helper->json->sendJson(array("result"=>0, "html"=>$this->createFullResponse($bl, true, true)));
|
||||
} else {
|
||||
$this->view->obj = $bl;
|
||||
$this->view->id = $bl->getId();
|
||||
|
|
|
@ -69,7 +69,7 @@ class PreferenceController extends Zend_Controller_Action
|
|||
$this->view->statusMsg = "<div class='success'>" . _('Preferences updated.') . '</div>';
|
||||
$form = new Application_Form_Preferences();
|
||||
$this->view->form = $form;
|
||||
// $this->_helper->json->sendJson(array("valid"=>"true", "html"=>$this->view->render('preference/index.phtml')));
|
||||
// $this->_helper->json->sendJson(array("valid"=>"true", "html"=>$this->view->render('preference/index.phtml')));
|
||||
} else {
|
||||
$this->view->form = $form;
|
||||
// $this->_helper->json->sendJson(array("valid"=>"false", "html"=>$this->view->render('preference/index.phtml')));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue