mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Making clearGroup() a no-op method instead of abstract to ease migration to 2.2
This commit is contained in:
parent
2bb3dc6bf7
commit
2a1e4a2aae
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue