From fae5e45551644fbf63767c789ac6dcded830f034 Mon Sep 17 00:00:00 2001 From: Shadow Date: Sun, 16 Feb 2014 09:01:48 +0200 Subject: [PATCH] Update dorf1.php --- dorf1.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/dorf1.php b/dorf1.php index 94ca7422..76821715 100644 --- a/dorf1.php +++ b/dorf1.php @@ -20,15 +20,6 @@ if(isset($_GET['newdid'])) { }else{ $building->procBuild($_GET); } -if(isset($_GET['master']) && isset($_GET['id']) && isset($_GET['time']) && $session->gold >= 1 && $session->goldclub && $village->master == 0) { -if($session->access!=BANNED){ -$level = $database->getResourceLevel($village->wid); -$database->addBuilding($village->wid, $_GET['id'], $_GET['master'], 1, $_GET['time'], 1, $level['f'.$_GET['id']] + 1 + count($database->getBuildingByField($village->wid,$_GET['id']))); -header("Location: ".$_SERVER['PHP_SELF']); -}else{ -header("Location: banned.php"); -} -} ?>