pref_prefs: remove second argument from the constructor
This commit is contained in:
parent
b20b6af0dc
commit
48ed517e8d
|
@ -36,7 +36,7 @@ class PluginHost {
|
|||
const KIND_SYSTEM = 2;
|
||||
const KIND_USER = 3;
|
||||
|
||||
function __construct($ignored = false) {
|
||||
function __construct() {
|
||||
$this->dbh = Db::get();
|
||||
$this->storage = $_SESSION["plugin_storage"];
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@ class Pref_Prefs extends Handler_Protected {
|
|||
return array_search($method, $csrf_ignored) !== false;
|
||||
}
|
||||
|
||||
function __construct($link, $args) {
|
||||
parent::__construct($link, $args);
|
||||
function __construct($args) {
|
||||
parent::__construct($args);
|
||||
|
||||
$this->pref_sections = array(
|
||||
1 => __('General'),
|
||||
|
|
Loading…
Reference in New Issue