diff --git a/src/Plugin.php b/src/Plugin.php index 604e3d4..e1d17ca 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -18,12 +18,12 @@ public function __construct() { public static function getHooks() { return [ - 'vps.load_addons' => [__CLASS__, 'Load'], + 'vps.load_addons' => [__CLASS__, 'getAddon'], 'vps.settings' => [__CLASS__, 'getSettings'], ]; } - public static function Load(GenericEvent $event) { + public static function getAddon(GenericEvent $event) { $service = $event->getSubject(); function_requirements('class.Addon'); $addon = new \Addon();