Полный отказ от $u->testAction() целиком.

This commit is contained in:
2024-05-15 16:42:28 +03:00
parent bc136cc030
commit 5e0dda8ed0
50 changed files with 1909 additions and 1831 deletions
-2
View File
@@ -1162,8 +1162,6 @@ if (!isset($_COOKIE['d1c'])) {
<?php
if ($u->info['active'] != '' && $u->info['mail'] != 'No E-mail') {
$yes = $u->testAction('`uid` = "' . $u->info['id'] . '" AND `vars` = "user_active_good" LIMIT 1', 1);
$yes2 = $u->testAction('`uid` = "' . $u->info['id'] . '" AND `vars` = "user_active_send" LIMIT 1', 1);
Db::sql('update stats set active = default where id = ?', [$u->info['id']]);
}
?>