diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-04-02 21:41:10 +0000 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-04-02 21:41:10 +0000 |
| commit | b05b89798a1ab9498062812bdf90cdf44ad18ee2 (patch) | |
| tree | eecd25d917380ab78da75553db50f5475adc5c6b /core/controllers/admin_maintenance.php | |
| parent | 160b54760f9373c8c092114e3ca2410af0730ed2 (diff) | |
Continuation of r20518. Remove all the cases were the csrf values in
views were being manually set. Also removed it from the Admin_View.
Diffstat (limited to 'core/controllers/admin_maintenance.php')
| -rw-r--r-- | core/controllers/admin_maintenance.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/controllers/admin_maintenance.php b/core/controllers/admin_maintenance.php index 52378fbc..794f2253 100644 --- a/core/controllers/admin_maintenance.php +++ b/core/controllers/admin_maintenance.php @@ -59,7 +59,6 @@ class Admin_Maintenance_Controller extends Admin_Controller { $task = task::create($tasks[$task_callback], array()); $view = new View("admin_maintenance_task.html"); - $view->csrf = access::csrf_token(); $view->task = $task; log::info("tasks", t("Task %task_name started (task id %task_id)", @@ -80,7 +79,6 @@ class Admin_Maintenance_Controller extends Admin_Controller { throw new Exception("@todo MISSING_TASK"); } $view = new View("admin_maintenance_task.html"); - $view->csrf = access::csrf_token(); $view->task = $task; log::info("tasks", t("Task %task_name resumed (task id %task_id)", |
