refactor: remove obsolete code
This commit is contained in:
parent
7f285ba3f4
commit
6b1d4cb725
1 changed files with 0 additions and 5 deletions
|
@ -10,11 +10,6 @@ namespace wishthis;
|
|||
|
||||
global $page, $database;
|
||||
|
||||
if (!isset($page)) {
|
||||
http_response_code(403);
|
||||
die('Direct access to this location is not allowed.');
|
||||
}
|
||||
|
||||
switch ($_SERVER['REQUEST_METHOD']) {
|
||||
case 'GET':
|
||||
$getWish = isset($_GET['wish_id']);
|
||||
|
|
Loading…
Reference in a new issue