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

This commit is contained in:
Jose Lorenzo Rodriguez 2012-03-27 00:08:24 -04:30
parent 2bb3dc6bf7
commit 2a1e4a2aae

View file

@ -126,9 +126,11 @@ abstract class CacheEngine {
* the same result. * the same result.
* *
* @param string $groups name of the group to be cleared * @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 * Does whatever initialization for each group is required