summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/pluginhost.php2
-rw-r--r--classes/pref/prefs.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/classes/pluginhost.php b/classes/pluginhost.php
index 1c490b1ef..44056d262 100644
--- a/classes/pluginhost.php
+++ b/classes/pluginhost.php
@@ -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"];
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php
index b2e7edf03..8bc367201 100644
--- a/classes/pref/prefs.php
+++ b/classes/pref/prefs.php
@@ -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'),