set force active user to active

This commit is contained in:
Philip Häusler 2015-01-05 13:58:24 +01:00
parent ca37de95da
commit 48e4787548
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ function admin_active() {
sql_query("UPDATE `User` SET `Aktiv` = 1 WHERE `UID`='" . sql_escape($usr['UID']) . "'");
$user_nicks[] = User_Nick_render($usr);
}
sql_query("UPDATE `User` SET `Aktiv`=1 WHERE `force_active`=TRUE");
engelsystem_log("These angels are active now: " . join(", ", $user_nicks));
$limit = "";