public function themeDeleteAction()
 {
     try {
         $theme_id = waRequest::post('theme');
         $theme = new waTheme($theme_id);
         $theme->purge();
         $this->logAction('theme_delete', $theme_id);
         $this->displayJson(array('redirect' => $this->design_url, 'theme_id' => $theme_id));
     } catch (waException $e) {
         $this->displayJson(array(), $e->getMessage());
     }
 }