mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-08 21:56:09 +00:00
more updates
This commit is contained in:
@@ -122,16 +122,11 @@ class Profile {
|
||||
$form->addError("email",EMAIL_ERROR);
|
||||
}
|
||||
if($post['del'] && md5($post['del_pw']) == $session->userinfo['password']) {
|
||||
if($database->isAllianceOwner($post['uid'])) {
|
||||
$form->addError("del",ALLI_OWNER);
|
||||
}
|
||||
else {
|
||||
if($session->access!=BANNED){
|
||||
$database->setDeleting($post['uid'],0);
|
||||
}else{
|
||||
header("Location: banned.php");
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
$form->addError("del",PASS_MISMATCH);
|
||||
|
||||
Reference in New Issue
Block a user