Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…ion to 2.2
  • Loading branch information...
commit 2a1e4a2aaed42bc9866e6a501fab685c38b16d4f 1 parent 2bb3dc6
José Lorenzo Rodríguez lorenzo authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/Cake/Cache/CacheEngine.php
6 lib/Cake/Cache/CacheEngine.php
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.