Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Jozef Sroka
ISPConfig 3
Commits
c1bc454a
Commit
c1bc454a
authored
Oct 06, 2016
by
Till Brehm
Browse files
Fixed #4255 3.1 Remote API - sites_database_user_delete should DROP user from mysql user table
parent
7d6dfc5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/remote.d/sites.inc.php
View file @
c1bc454a
...
...
@@ -261,7 +261,7 @@ class remoting_sites extends remoting {
return
false
;
}
$app
->
db
->
datalogDelete
(
'web_database_user'
,
'database_user_id'
,
$primary_id
);
//
$app->db->datalogDelete('web_database_user', 'database_user_id', $primary_id);
$affected_rows
=
$this
->
deleteQuery
(
'../sites/form/database_user.tform.php'
,
$primary_id
);
$records
=
$app
->
db
->
queryAllRecords
(
"SELECT database_id FROM web_database WHERE database_user_id = ?"
,
$primary_id
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment