Browse Source

Making clearGroup() a no-op method instead of abstract to ease migration to 2.2

Jose Lorenzo Rodriguez 14 years ago
parent
commit
2a1e4a2aae
1 changed files with 4 additions and 2 deletions
  1. 4 2
      lib/Cake/Cache/CacheEngine.php

+ 4 - 2
lib/Cake/Cache/CacheEngine.php

@@ -126,9 +126,11 @@ abstract class CacheEngine {
  * 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