Permalink
Browse files

Making clearGroup() a no-op method instead of abstract to ease migrat…

…ion to 2.2
  • Loading branch information...
1 parent 2bb3dc6 commit 2a1e4a2aaed42bc9866e6a501fab685c38b16d4f @lorenzo lorenzo committed Mar 27, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/Cake/Cache/CacheEngine.php
@@ -126,9 +126,11 @@ public function gc() {
* the same result.
*
* @param string $groups name of the group to be cleared
- * @return void
+ * @return boolean
**/
- abstract public function clearGroup($group);
+ public function clearGroup($group) {
+ return false;
+ }
/**
* Does whatever initialization for each group is required

0 comments on commit 2a1e4a2

Please sign in to comment.