mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
SQL style should not include a ';' on the end of the statement.
This commit is contained in:
parent
25e8519b4b
commit
7eaf94753c
@ -59,7 +59,7 @@ function handle_subaction( $subaction ) {
|
||||
if ( $session->AllowedTo('Admin') ) {
|
||||
if ( $session->CheckConfirmationHash('GET', 'confirm') ) {
|
||||
dbg_error_log('admin-principal-edit',':handle_action: Allowed to delete principal %d -%s', $id, $editor->Value('username') );
|
||||
$qry = new AwlQuery('DELETE FROM dav_principal WHERE principal_id=?;', $id );
|
||||
$qry = new AwlQuery('DELETE FROM dav_principal WHERE principal_id=?', $id );
|
||||
if ( $qry->Exec() ) {
|
||||
$c->messages[] = i18n('Principal deleted');
|
||||
return true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user