public function revertFileAction() { try { $theme = new waTheme(waRequest::post('theme')); $file = waRequest::post('file'); $theme->revertFile($file); $this->displayJson(array()); } catch (waException $e) { $this->displayJson(array(), $e->getMessage()); } }