예제 #1
0
 /**
  * @since 2.1
  *
  * @param string $id
  */
 public function deleteFromCache($id)
 {
     $this->cache->delete($id);
 }
예제 #2
0
 /**
  * @since 2.1
  *
  * @param string $title
  * @param integer $namespace
  */
 public function deleteRedirectEntry($title, $namespace)
 {
     $this->delete($title, $namespace);
     $hash = HashBuilder::createHashIdFromSegments($title, $namespace);
     $this->cache->delete($hash);
 }