diff --git a/web/app/controllers/user_system_msg.php b/web/app/controllers/user_system_msg.php index 88c8d9a..066b676 100644 --- a/web/app/controllers/user_system_msg.php +++ b/web/app/controllers/user_system_msg.php @@ -64,10 +64,6 @@ $system_msgs[$idx]['delete_form'] = $delete_form; } } - - if (Auth::id() == $user['username']) { - DB::update("update user_system_msg set read_time = now() where receiver = '" . $user['username'] . "'"); - } ?> @@ -83,7 +79,9 @@