From eedc8177631c233624d8cccfbabfd2f5d6ed14d8 Mon Sep 17 00:00:00 2001 From: Marc Jauvin Date: Thu, 22 Apr 2021 11:44:33 -0400 Subject: [PATCH] remove manual aliases, namespace alias is used instead now --- aliases.php | 28 ---------------------------- init.php | 3 --- 2 files changed, 31 deletions(-) delete mode 100644 aliases.php delete mode 100644 init.php diff --git a/aliases.php b/aliases.php deleted file mode 100644 index 8e3dce1..0000000 --- a/aliases.php +++ /dev/null @@ -1,28 +0,0 @@ - RainLab\Notify\Plugin::class, - Winter\Notify\Classes\ConditionBase::class => RainLab\Notify\Classes\ConditionBase::class, - Winter\Notify\Classes\EventBase::class => RainLab\Notify\Classes\EventBase::class, - Winter\Notify\Classes\Notifier::class => RainLab\Notify\Classes\Notifier::class, - Winter\Notify\Classes\CompoundCondition::class => RainLab\Notify\Classes\CompoundCondition::class, - Winter\Notify\Classes\EventParams::class => RainLab\Notify\Classes\EventParams::class, - Winter\Notify\Classes\ActionBase::class => RainLab\Notify\Classes\ActionBase::class, - Winter\Notify\Classes\ModelAttributesConditionBase::class => RainLab\Notify\Classes\ModelAttributesConditionBase::class, - Winter\Notify\Controllers\Notifications::class => RainLab\Notify\Controllers\Notifications::class, - Winter\Notify\FormWidgets\ActionBuilder::class => RainLab\Notify\FormWidgets\ActionBuilder::class, - Winter\Notify\FormWidgets\ConditionBuilder::class => RainLab\Notify\FormWidgets\ConditionBuilder::class, - Winter\Notify\Models\Notification::class => RainLab\Notify\Models\Notification::class, - Winter\Notify\Models\RuleCondition::class => RainLab\Notify\Models\RuleCondition::class, - Winter\Notify\Models\RuleAction::class => RainLab\Notify\Models\RuleAction::class, - Winter\Notify\Models\NotificationRule::class => RainLab\Notify\Models\NotificationRule::class, -]; - -app(ClassLoader::class)->addAliases($aliases); diff --git a/init.php b/init.php deleted file mode 100644 index 6955e90..0000000 --- a/init.php +++ /dev/null @@ -1,3 +0,0 @@ -