public function rebuildCategoryTree()
{
$this->permission('Garden.Settings.Manage');
if ($this->Request->isAuthenticatedPostBack()) {
$CategoryModel = new CategoryModel();
$CategoryModel->rebuildTree();
$this->setData('Result', array('Complete' => true));
}
$this->setData('Title', "Fix category tree from an import.");
$this->_setJob($this->data('Title'));
$this->render('Job');
}