original_string: protected function validateDefaultStore()
      {
          $id = $this->getUpdatingId();
  
          if (!empty($id) && $this->store->isDefault($id)) {
              $this->unsetSubmitted('domain');
              $this->unsetSubmitted('basepath');
          }
      }
code: protected function validateDefaultStore()
      {
          $id = $this->getUpdatingId();
  
          if (!empty($id) && $this->store->isDefault($id)) {
              $this->unsetSubmitted('domain');
              $this->unsetSubmitted('basepath');
          }
      }
code_tokens: protected function validateDefaultStore ( ) { $ id = $ this -> getUpdatingId ( ) ; if ( ! empty ( $ id ) && $ this -> store -> isDefault ( $ id ) ) { $ this -> unsetSubmitted ( 'domain' ) ; $ this -> unsetSubmitted ( 'basepath' ) ; } }
docstring: Validates default store
docstring_tokens: Validates default store