public function themeResetAction()
 {
     try {
         $theme = new waTheme(waRequest::post('theme'));
         $parent = $theme->parent_theme;
         $theme->brush();
         // reset parent theme
         if ($parent && waRequest::post('parent')) {
             $parent->brush();
         }
         $this->logAction('theme_reset', $theme->id);
         $this->displayJson(array());
     } catch (waException $e) {
         $this->displayJson(array(), $e->getMessage());
     }
 }
 public function themeResetAction()
 {
     try {
         $theme = new waTheme(waRequest::post('theme'));
         $theme->brush();
         $this->log('theme_reset');
         $this->displayJson(array());
     } catch (waException $e) {
         $this->displayJson(array(), $e->getMessage());
     }
 }