private function doRealUpdate() { $this->store->setUpdateJobsEnabledState($this->updateJobsEnabledState); if ($this->processSemantics) { $this->store->updateData($this->semanticData); } else { $this->store->clearData($this->semanticData->getSubject()); } return true; }
private function doRealUpdate() { $this->store->setUpdateJobsEnabledState($this->enabledWithUpdateJobs); $semanticData = $this->checkForRequiredRedirectUpdate($this->semanticData); $subject = $semanticData->getSubject(); if ($this->processSemantics) { $this->store->updateData($semanticData); } elseif ($this->store->getObjectIds()->hasIDFor($subject)) { // Only clear the data where it is know that "hasIDFor" is true otherwise // an empty entity is created and later being removed by the // "PropertyTableOutdatedReferenceDisposer" since it is an entity that is // empty == has no reference $this->store->clearData($subject); } return true; }