diff options
author | Michael Große <mic.grosse@googlemail.com> | 2019-02-14 23:55:18 +0100 |
---|---|---|
committer | Michael Große <mic.grosse@googlemail.com> | 2019-02-14 23:55:18 +0100 |
commit | fec08cc9d061043e2f5a81040bebae1bb90d91ba (patch) | |
tree | 4b3c5ca27d4a102e3d8d5687055f277308dec79f /inc/Cache | |
parent | d2f1d7a17e2e29d7a2471b10445570be500d337c (diff) | |
download | dokuwiki-fec08cc9d061043e2f5a81040bebae1bb90d91ba.tar.gz dokuwiki-fec08cc9d061043e2f5a81040bebae1bb90d91ba.zip |
Use DokuWiki's own deprecation reporters
DokuWiki has its own way to report deprecation notifications.
Let's use it!
Diffstat (limited to 'inc/Cache')
-rw-r--r-- | inc/Cache/Cache.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/Cache/Cache.php b/inc/Cache/Cache.php index d4d4fff44..df7843187 100644 --- a/inc/Cache/Cache.php +++ b/inc/Cache/Cache.php @@ -38,6 +38,7 @@ class Cache '\dokuwiki\Cache\Cache::_event is deprecated since 2019-02-02. Use \dokuwiki\Cache\Cache::getEvent()', E_USER_DEPRECATED ); + dbg_deprecated('\dokuwiki\Cache\Cache::getEvent()'); return $this->getEvent(); } @@ -46,6 +47,7 @@ class Cache '\dokuwiki\Cache\Cache::_time is deprecated since 2019-02-02. Use \dokuwiki\Cache\Cache::getTime()', E_USER_DEPRECATED ); + dbg_deprecated('\dokuwiki\Cache\Cache::getTime()'); return $this->getTime(); } return $this->$$key; @@ -58,6 +60,7 @@ class Cache '\dokuwiki\Cache\Cache::_event is deprecated since 2019-02-02. Use \dokuwiki\Cache\Cache::getEvent()', E_USER_DEPRECATED ); + dbg_deprecated('\dokuwiki\Cache\Cache::getEvent()'); $this->setEvent($value); } $this->$$name = $value; |