mirror of
https://github.com/tnodir/fort
synced 2024-11-15 08:35:08 +00:00
UI: Programs: Reset app's auto-block on Block action
This commit is contained in:
parent
9bd8187840
commit
28dc0fdf15
@ -159,7 +159,8 @@ const char *const sqlUpdateApp = "UPDATE app"
|
||||
|
||||
const char *const sqlUpdateAppName = "UPDATE app SET name = ?2 WHERE app_id = ?1;";
|
||||
|
||||
const char *const sqlUpdateAppBlocked = "UPDATE app SET blocked = ?2 WHERE app_id = ?1;";
|
||||
const char *const sqlUpdateAppBlocked = "UPDATE app SET blocked = ?2, end_time = NULL"
|
||||
" WHERE app_id = ?1;";
|
||||
|
||||
const char *const sqlUpdateAppResetGroup = "UPDATE app"
|
||||
" SET app_group_id = ?2"
|
||||
|
Loading…
Reference in New Issue
Block a user