/**
  * Process the update from the format javascript via ajax
  */
 public function updateCustomCSS()
 {
     if (current_user_can("edit_theme_options")) {
         if (!isset($this->settings)) {
             $this->settings = EasyRecipeSettings::getInstance();
         }
         $setting = isset($_POST['isPrint']) ? "customPrintCSS" : "customCSS";
         $this->settings->{$setting} = isset($_POST['css']) ? stripslashes_deep($_POST['css']) : "";
         $this->settings->update();
     }
     /**
      * The return isn't necessary but it helps with unit testing
      */
     die('OK');
 }