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

Fixed #4255 3.1 Remote API - sites_database_user_delete should DROP user from mysql user table

parent 7d6dfc5f
...@@ -261,7 +261,7 @@ class remoting_sites extends remoting { ...@@ -261,7 +261,7 @@ class remoting_sites extends remoting {
return false; 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); $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); $records = $app->db->queryAllRecords("SELECT database_id FROM web_database WHERE database_user_id = ?", $primary_id);
......
Markdown is supported
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