mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Using the static property instead
This commit is contained in:
parent
a786f4b1c6
commit
03dac31930
1 changed files with 1 additions and 1 deletions
|
@ -3140,7 +3140,7 @@ class DboSource extends DataSource {
|
|||
*/
|
||||
public function __destruct() {
|
||||
if ($this->_methodCacheChange) {
|
||||
Cache::write('method_cache', $this->methodCache, '_cake_core_');
|
||||
Cache::write('method_cache', self::$methodCache, '_cake_core_');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue