diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-12-29 21:28:28 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-29 21:28:28 +0000 |
commit | 763cc32cafd9330f848b869372b64c8ca7ec981d (patch) | |
tree | ca3ac3c4805270e6b11f80d371404973846590ec | |
parent | 26417f6dd4da2fd774fc7517a4379bcd17f06dae (diff) |
Return the task on success so that our UI can show it at 100%
-rw-r--r-- | core/controllers/admin_maintenance.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/controllers/admin_maintenance.php b/core/controllers/admin_maintenance.php index fba78a40..ea844a1f 100644 --- a/core/controllers/admin_maintenance.php +++ b/core/controllers/admin_maintenance.php @@ -179,6 +179,7 @@ class Admin_Maintenance_Controller extends Admin_Controller { } print json_encode( array("result" => "success", + "task" => $task->as_array(), "location" => url::site("admin/maintenance"))); } else { print json_encode( |