private function deactivate_license($forced = FALSE)
 {
     if ($this->license_key_k === NULL) {
         return;
     }
     $entity = new WPFront_User_Role_Editor_Entity_Options();
     $this->license_key = $entity->get_option($this->license_key_k);
     $result = $this->remote_get('deactivate_license', $this->license_key);
     if ($result === NULL) {
         return;
     }
     if ($result->license === 'deactivated' || $forced) {
         $entity->delete_option($this->license_key_k);
         $entity->delete_option($this->license_key_k . '-expires');
         $entity->delete_option($this->license_key_k . '-last-checked');
         if (!$forced) {
             $this->send_mail('deactivate', $result, 'user');
         }
     } else {
         $this->error = $this->__('ERROR') . ': ' . $this->__('Unable to deactivate, expired license?');
     }
     $this->set_license();
 }
 private function delete_disable_for_secondary_role($role)
 {
     $entity = new WPFront_User_Role_Editor_Entity_Options();
     $entity->delete_option(self::$disable_for_secondary_role_option_name . $role->name);
 }