diff --git a/library/Icinga/Authentication/User/DbUserBackend.php b/library/Icinga/Authentication/User/DbUserBackend.php index 6a2e2f6463..8cf4f5f401 100644 --- a/library/Icinga/Authentication/User/DbUserBackend.php +++ b/library/Icinga/Authentication/User/DbUserBackend.php @@ -117,7 +117,7 @@ protected function initializeFilterColumns() * * @return void */ - public function insert($table, array $bind) + public function insert($table, array $bind, array $types = array()) { $this->requireTable($table); $bind['created_at'] = date('Y-m-d H:i:s'); @@ -138,7 +138,7 @@ public function insert($table, array $bind) * @param array $bind * @param Filter $filter */ - public function update($table, array $bind, Filter $filter = null) + public function update($table, array $bind, Filter $filter = null, array $types = array()) { $this->requireTable($table); $bind['last_modified'] = date('Y-m-d H:i:s'); diff --git a/library/Icinga/Authentication/UserGroup/DbUserGroupBackend.php b/library/Icinga/Authentication/UserGroup/DbUserGroupBackend.php index a76f6c930f..04b556ade4 100644 --- a/library/Icinga/Authentication/UserGroup/DbUserGroupBackend.php +++ b/library/Icinga/Authentication/UserGroup/DbUserGroupBackend.php @@ -133,7 +133,7 @@ protected function initializeFilterColumns() * @param string $table * @param array $bind */ - public function insert($table, array $bind) + public function insert($table, array $bind, array $types = array()) { $bind['created_at'] = date('Y-m-d H:i:s'); parent::insert($table, $bind); @@ -146,7 +146,7 @@ public function insert($table, array $bind) * @param array $bind * @param Filter $filter */ - public function update($table, array $bind, Filter $filter = null) + public function update($table, array $bind, Filter $filter = null, array $types = array()) { $bind['last_modified'] = date('Y-m-d H:i:s'); parent::update($table, $bind, $filter); diff --git a/library/Icinga/Web/Form/Element/Note.php b/library/Icinga/Web/Form/Element/Note.php index 5344fb31cb..9569dee55c 100644 --- a/library/Icinga/Web/Form/Element/Note.php +++ b/library/Icinga/Web/Form/Element/Note.php @@ -48,7 +48,7 @@ public function init() * * @return bool Always true */ - public function isValid($value) + public function isValid($value, $context = null) { return true; }