deletePropertyImmediately() public method

{@inheritDoc}
public deletePropertyImmediately ( $path )
 /**
  * {@inheritDoc}
  */
 public function deletePropertyImmediately($absPath)
 {
     $result = parent::deletePropertyImmediately($absPath);
     if ($result) {
         // we do not have the node here, otherwise we could use clearNodeCache() and then just invalidate all queries
         $this->clearCaches();
     }
     return $result;
 }
Example #2
0
 /**
  * {@inheritDoc}
  */
 public function deletePropertyImmediately($absPath)
 {
     $result = parent::deletePropertyImmediately($absPath);
     if ($result && isset($this->caches['nodes'])) {
         $this->caches['nodes']->deleteAll();
     }
     return $result;
 }