- Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathSetting.php
More file actions
Latest commit
19 lines (15 loc) · 457 Bytes
/
Copy pathSetting.php
File metadata and controls
19 lines (15 loc) · 457 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
namespacedokuwiki\plugin\authsplit;
usedokuwiki\plugin\config\core\Setting\SettingAuthtype;
/**
* Defines a custom "authtype" class that does not show authsplit
*/
class Setting extends SettingAuthtype
{
/** @inheritdoc */
functioninitialize($default = null, $local = null, $protected = null)
{
parent::initialize($default, $local, $protected);
$this->choices = array_diff($this->choices, ['authsplit']);
}
}