1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02:00

Closes #1801 Code cleanup. Deprecated method errors added.

This commit is contained in:
Cameron
2020-12-22 14:48:28 -08:00
parent 881670d92c
commit 402d1f4126
37 changed files with 347 additions and 393 deletions

View File

@@ -96,7 +96,7 @@ if (isset($_POST['delp']))
$row = $sql->fetch();
@unlink(e_AVATAR_UPLOAD.$row['user_sess']);
$sql->update("user", "user_sess='' WHERE user_id=".intval($tmp[1]));
header("location:".e_SELF."?id.".$tmp[1]);
e107::redirect(e_SELF."?id.".$tmp[1]);
exit;
}
}