Skip to content

Commit

Permalink
Use DokuWiki's newer plugin class name to be extended in class defini…
Browse files Browse the repository at this point in the history
…tion

Even if Andi may really never break compatibility, every plugin less
that uses the old-school plugin names is a step forward.
  • Loading branch information
pief committed Sep 20, 2023
1 parent 8bc8780 commit 0d2c767
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
// must be run within Dokuwiki
if(!defined('DOKU_INC')) die();

class auth_plugin_authsplit extends DokuWiki_Auth_Plugin {
use dokuwiki\Extension\AuthPlugin;

class auth_plugin_authsplit extends AuthPlugin {
protected $authplugins;
protected $autocreate_users;
protected $debug;
Expand Down

0 comments on commit 0d2c767

Please sign in to comment.