From a6438454d6f1b35f061ad2cb561dfa32e8d094f4 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Mon, 5 Jan 2026 01:23:12 +0100 Subject: [PATCH] Misc/Cleanup * remove namespace includes sneakily auto placed by vscode --- endpoints/admin/screenshots_approve.php | 2 -- endpoints/admin/spawn-override.php | 2 -- endpoints/admin/videos_approve.php | 2 -- includes/components/guidemgr.class.php | 2 -- includes/database.class.php | 5 ----- includes/game/loot/lootbycontainer.class.php | 2 -- 6 files changed, 15 deletions(-) diff --git a/endpoints/admin/screenshots_approve.php b/endpoints/admin/screenshots_approve.php index da4c9763..f2f3b5dd 100644 --- a/endpoints/admin/screenshots_approve.php +++ b/endpoints/admin/screenshots_approve.php @@ -2,8 +2,6 @@ namespace Aowow; -use GdImage; - if (!defined('AOWOW_REVISION')) die('illegal access'); diff --git a/endpoints/admin/spawn-override.php b/endpoints/admin/spawn-override.php index ebe8d2dd..49bb1029 100644 --- a/endpoints/admin/spawn-override.php +++ b/endpoints/admin/spawn-override.php @@ -2,8 +2,6 @@ namespace Aowow; -use Error; - if (!defined('AOWOW_REVISION')) die('illegal access'); diff --git a/endpoints/admin/videos_approve.php b/endpoints/admin/videos_approve.php index 32e866e9..51dfe1d0 100644 --- a/endpoints/admin/videos_approve.php +++ b/endpoints/admin/videos_approve.php @@ -2,8 +2,6 @@ namespace Aowow; -use GdImage; - if (!defined('AOWOW_REVISION')) die('illegal access'); diff --git a/includes/components/guidemgr.class.php b/includes/components/guidemgr.class.php index 3b738404..a5c5ea6c 100644 --- a/includes/components/guidemgr.class.php +++ b/includes/components/guidemgr.class.php @@ -2,8 +2,6 @@ namespace Aowow; -use GdImage; - if (!defined('AOWOW_REVISION')) die('illegal access'); diff --git a/includes/database.class.php b/includes/database.class.php index 64956c87..477a17fc 100644 --- a/includes/database.class.php +++ b/includes/database.class.php @@ -5,11 +5,6 @@ namespace Aowow; if (!defined('AOWOW_REVISION')) die('illegal access'); -/* - Class designed by LordJZ for Aowow3 - - https://github.com/LordJZ/aowow3/ -*/ class DB { diff --git a/includes/game/loot/lootbycontainer.class.php b/includes/game/loot/lootbycontainer.class.php index 6d9962c7..df650998 100644 --- a/includes/game/loot/lootbycontainer.class.php +++ b/includes/game/loot/lootbycontainer.class.php @@ -2,8 +2,6 @@ namespace Aowow; -use stdClass; - if (!defined('AOWOW_REVISION')) die('illegal access');