Removing unnecessary lines, fixing namespace

This commit is contained in:
myname 2023-03-27 14:28:44 -05:00
parent 0b5f6c310d
commit f43ed0ee71

View file

@ -2,6 +2,8 @@
declare(strict_types=1); declare(strict_types=1);
namespace Shimmie2;
class BulkParentChildConfig class BulkParentChildConfig
{ {
} }
@ -13,11 +15,6 @@ class BulkParentChild extends Extension
{ {
private const PARENT_CHILD_ACTION_NAME = "bulk_parent_child"; private const PARENT_CHILD_ACTION_NAME = "bulk_parent_child";
public function onInitExt(InitExtEvent $event)
{
global $config;
}
public function onBulkActionBlockBuilding(BulkActionBlockBuildingEvent $event) public function onBulkActionBlockBuilding(BulkActionBlockBuildingEvent $event)
{ {
global $user; 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) public function onBulkAction(BulkActionEvent $event)
{ {
global $user, $page, $config; global $user, $page, $config;