summaryrefslogtreecommitdiff
path: root/lib/plugins/auth.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-11-09 14:04:41 +0100
committerAndreas Gohr <andi@splitbrain.org>2012-11-09 14:04:41 +0100
commit454d868b911059adb8889a2d6afefa016d6a21f5 (patch)
tree7dfee1d5327d65eccfebbf5f26fe060f7985269e /lib/plugins/auth.php
parent4d390d4260c028ff110151e305e93b80f3eb13eb (diff)
downloadrpg-454d868b911059adb8889a2d6afefa016d6a21f5.tar.gz
rpg-454d868b911059adb8889a2d6afefa016d6a21f5.tar.bz2
make all sub auth classes call the parent constructor
This does nothing currently but allows us adding certain things to the base class later.
Diffstat (limited to 'lib/plugins/auth.php')
-rw-r--r--lib/plugins/auth.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/plugins/auth.php b/lib/plugins/auth.php
index cd2f9ac12..cce2370d9 100644
--- a/lib/plugins/auth.php
+++ b/lib/plugins/auth.php
@@ -42,6 +42,9 @@ class DokuWiki_Auth_Plugin extends DokuWiki_Plugin {
* able to operate. Set capabilities in $this->cando
* array here
*
+ * For future compatibility, sub classes should always include a call
+ * to parent::__constructor() in their constructors!
+ *
* Set $this->success to false if checks fail
*
* @author Christopher Smith <chris@jalakai.co.uk>