fix listUserClassPermissions()

This commit is contained in:
xiaomlove
2022-08-22 23:48:26 +08:00
parent adfd8f36e7
commit efec6348ef
3 changed files with 2 additions and 5 deletions

View File

@@ -352,8 +352,7 @@ if ($action == "edituser")
if (!empty($banLog)) {
\App\Models\UserBanLog::query()->insert($banLog);
}
\Nexus\Database\NexusDB::cache_del("user_{$userid}_content");
\Nexus\Database\NexusDB::cache_del('user_passkey_'.$userInfo->passkey.'_content');
clear_user_cache($userid, $userInfo->passkey);
$returnto = htmlspecialchars($_POST["returnto"]);
header("Location: " . get_protocol_prefix() . "$BASEURL/$returnto");
die;