diff options
author | Andreas Gohr <andi@splitbrain.org> | 2020-08-13 13:40:39 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2020-08-13 13:40:39 +0200 |
commit | e4aa0139d52e6547b2a34349ecebb02c9f1c4593 (patch) | |
tree | 6ee9c53b79c03cd3cdbf063fe926d1dec7b1066f /lib/plugins | |
parent | 04225b4a35e2515bb44161e979ee030629f0b072 (diff) | |
download | dokuwiki-e4aa0139d52e6547b2a34349ecebb02c9f1c4593.tar.gz dokuwiki-e4aa0139d52e6547b2a34349ecebb02c9f1c4593.zip |
better deprecation messages for self required plugin base files
Diffstat (limited to 'lib/plugins')
-rw-r--r-- | lib/plugins/action.php | 4 | ||||
-rw-r--r-- | lib/plugins/admin.php | 4 | ||||
-rw-r--r-- | lib/plugins/auth.php | 4 | ||||
-rw-r--r-- | lib/plugins/cli.php | 4 | ||||
-rw-r--r-- | lib/plugins/remote.php | 4 | ||||
-rw-r--r-- | lib/plugins/syntax.php | 4 |
6 files changed, 18 insertions, 6 deletions
diff --git a/lib/plugins/action.php b/lib/plugins/action.php index a3cbec722..7ea78a888 100644 --- a/lib/plugins/action.php +++ b/lib/plugins/action.php @@ -1,2 +1,4 @@ <?php -dbg_deprecated('Autoloading. Do not require() files yourself.'); +\dokuwiki\Debug\DebugHelper::dbgDeprecatedFunction( + 'Do not require() files yourself. Autoloading', 1, basename(__FILE__) +); diff --git a/lib/plugins/admin.php b/lib/plugins/admin.php index a3cbec722..7ea78a888 100644 --- a/lib/plugins/admin.php +++ b/lib/plugins/admin.php @@ -1,2 +1,4 @@ <?php -dbg_deprecated('Autoloading. Do not require() files yourself.'); +\dokuwiki\Debug\DebugHelper::dbgDeprecatedFunction( + 'Do not require() files yourself. Autoloading', 1, basename(__FILE__) +); diff --git a/lib/plugins/auth.php b/lib/plugins/auth.php index a3cbec722..7ea78a888 100644 --- a/lib/plugins/auth.php +++ b/lib/plugins/auth.php @@ -1,2 +1,4 @@ <?php -dbg_deprecated('Autoloading. Do not require() files yourself.'); +\dokuwiki\Debug\DebugHelper::dbgDeprecatedFunction( + 'Do not require() files yourself. Autoloading', 1, basename(__FILE__) +); diff --git a/lib/plugins/cli.php b/lib/plugins/cli.php index a3cbec722..7ea78a888 100644 --- a/lib/plugins/cli.php +++ b/lib/plugins/cli.php @@ -1,2 +1,4 @@ <?php -dbg_deprecated('Autoloading. Do not require() files yourself.'); +\dokuwiki\Debug\DebugHelper::dbgDeprecatedFunction( + 'Do not require() files yourself. Autoloading', 1, basename(__FILE__) +); diff --git a/lib/plugins/remote.php b/lib/plugins/remote.php index a3cbec722..7ea78a888 100644 --- a/lib/plugins/remote.php +++ b/lib/plugins/remote.php @@ -1,2 +1,4 @@ <?php -dbg_deprecated('Autoloading. Do not require() files yourself.'); +\dokuwiki\Debug\DebugHelper::dbgDeprecatedFunction( + 'Do not require() files yourself. Autoloading', 1, basename(__FILE__) +); diff --git a/lib/plugins/syntax.php b/lib/plugins/syntax.php index a3cbec722..7ea78a888 100644 --- a/lib/plugins/syntax.php +++ b/lib/plugins/syntax.php @@ -1,2 +1,4 @@ <?php -dbg_deprecated('Autoloading. Do not require() files yourself.'); +\dokuwiki\Debug\DebugHelper::dbgDeprecatedFunction( + 'Do not require() files yourself. Autoloading', 1, basename(__FILE__) +); |