MINOR Making allowed_actions explicit on some core controllers (thanks cbarberis, fixes pull request #1)

This commit is contained in:
Ingo Schommer 2011-12-18 18:19:55 +01:00
parent f4c3ad23de
commit 023ac994e9
2 changed files with 11 additions and 0 deletions

View File

@ -21,6 +21,12 @@
* @subpackage export
*/
class StaticExporter extends Controller {
static $allowed_actions = array(
'index',
'export',
);
function init() {
parent::init();

View File

@ -6,6 +6,11 @@
* @todo Make this use the Task interface once it gets merged back into trunk
*/
class RebuildStaticCacheTask extends Controller {
static $allowed_actions = array(
'index',
);
function init() {
parent::init();