mirror of
https://github.com/AzuraCast/AzuraCast.git
synced 2024-06-15 05:36:37 +00:00
19 lines
428 B
PHP
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;
|
|
}
|
|
} |