Commit caeab8c0 authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch 'patch-2' into 'stable-3.1'

update_record_permissions() isn't callable via API as it has no session_id in its params

See merge request ispconfig/ispconfig3!780
parents 1ebaacfa 87fc4430
......@@ -48,7 +48,7 @@ class remoting_admin extends remoting {
* @param array permissions
* @author "ispcomm", improved by M. Cramer <>
public function update_record_permissions($tablename, $index_field, $index_value, $permissions) {
public function update_record_permissions($session_id, $tablename, $index_field, $index_value, $permissions) {
global $app;
if(!$this->checkPerm($session_id, 'admin_record_permissions')) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment