4
0
mirror of https://github.com/AzuraCast/AzuraCast.git synced 2024-06-15 05:36:37 +00:00
AzuraCast/app/modules/mlpma/controllers/ManageController.php
2014-02-22 03:03:06 -06:00

19 lines
428 B
PHP

<?php
class Mlpma_ManageController extends \PVL\Controller\Action\Mlpma
{
public function permissions()
{
return $this->acl->isAllowed('administer mlpma songs');
}
public function indexAction()
{
$this->redirectFromHere(array('controller' => 'index'));
}
public function importAction()
{
$pending_results = \PVL\MusicManager::checkPendingFolder();
$this->view->output = $pending_results;
}
}