From f43ed0ee7176738206e9a28ce65d8f3b0dad7c31 Mon Sep 17 00:00:00 2001 From: myname Date: Mon, 27 Mar 2023 14:28:44 -0500 Subject: [PATCH] Removing unnecessary lines, fixing namespace --- ext/bulk_parent_child/main.php | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/ext/bulk_parent_child/main.php b/ext/bulk_parent_child/main.php index 9362debd..296c9af8 100644 --- a/ext/bulk_parent_child/main.php +++ b/ext/bulk_parent_child/main.php @@ -2,6 +2,8 @@ declare(strict_types=1); +namespace Shimmie2; + class BulkParentChildConfig { } @@ -13,11 +15,6 @@ class BulkParentChild extends Extension { private const PARENT_CHILD_ACTION_NAME = "bulk_parent_child"; - public function onInitExt(InitExtEvent $event) - { - global $config; - } - public function onBulkActionBlockBuilding(BulkActionBlockBuildingEvent $event) { global $user; @@ -27,13 +24,6 @@ class BulkParentChild extends Extension } } - public function onSetupBuilding(SetupBuildingEvent $event) - { - $sb = $event->panel->create_new_block("Bulk Parent Child"); - $sb->start_table(); - $sb->end_table(); - } - public function onBulkAction(BulkActionEvent $event) { global $user, $page, $config;