Permalink
Browse files

FIX Clean cache on Config->remove()

  • Loading branch information...
1 parent bb52f2a commit 69ae1f338ffd179f7a78abb46d1c810596c449e5 @chillu chillu committed Mar 21, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 core/Config.php
View
@@ -590,6 +590,8 @@ public function remove($class, $name /*,$key = null*/ /*,$value = null*/) {
if (!isset($this->suppresses[0][$class][$name])) $this->suppresses[0][$class][$name] = array();
$this->suppresses[0][$class][$name][] = $suppress;
+
+ $this->cache->clean("__{$class}__{$name}");
}
}

0 comments on commit 69ae1f3

Please sign in to comment.