diff options
author | kalenpw <kalenpwilliams@gmail.com> | 2020-02-28 22:21:52 -0700 |
---|---|---|
committer | kalenpw <kalenpwilliams@gmail.com> | 2020-02-28 22:21:52 -0700 |
commit | 30ee8867047f1794cf44ed1a72ea3d5bda3cd9f8 (patch) | |
tree | 84a54ed2199e3237c6c17760a474d3947aeeb23b | |
parent | 033eb35b208082e0d25132d664962f35869dd3d8 (diff) | |
download | dokuwiki-30ee8867047f1794cf44ed1a72ea3d5bda3cd9f8.tar.gz dokuwiki-30ee8867047f1794cf44ed1a72ea3d5bda3cd9f8.zip |
Use getters instead of deprecated property
-rw-r--r-- | inc/Cache/Cache.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/Cache/Cache.php b/inc/Cache/Cache.php index 82a640694..af82e6bf6 100644 --- a/inc/Cache/Cache.php +++ b/inc/Cache/Cache.php @@ -78,10 +78,10 @@ class Cache $this->depends = $depends; $this->addDependencies(); - if ($this->_event) { + if ($this->getEvent()) { return $this->stats( Event::createAndTrigger( - $this->_event, + $this->getEvent(), $this, array($this, 'makeDefaultCacheDecision') ) |