From 53b976280a0a9e49f6e251aedbec38413257be28 Mon Sep 17 00:00:00 2001 From: pxpm Date: Thu, 31 Oct 2024 18:45:54 +0000 Subject: [PATCH] remove demo analytics form package provider --- src/BackpackPanServiceProvider.php | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/src/BackpackPanServiceProvider.php b/src/BackpackPanServiceProvider.php index 4c7a0a2..6c90298 100644 --- a/src/BackpackPanServiceProvider.php +++ b/src/BackpackPanServiceProvider.php @@ -6,7 +6,6 @@ use Illuminate\Support\ServiceProvider; use Pan\PanConfiguration; - class BackpackPanServiceProvider extends ServiceProvider { public function register() @@ -29,31 +28,6 @@ public function boot() __DIR__.'/config/pan.php' => config_path('backpack/pan.php'), ], 'pan-config'); - PanConfiguration::allowedAnalytics([ - "my-button", - "welcome-page", - "welcome-login-link", - "welcome-docs-link", - "welcome-github-link", - "welcome-contact-link", - "login-form", - "menu-item-dashboard", - "menu-item-addons", - "menu-item-petshop", - "menu-item-news", - "menu-item-auth", - "menu-item-filemanager", - "menu-item-activity-log", - "menu-item-translation-manager", - "menu-item-calendar-operation", - "menu-item-backup-manager", - "menu-item-log-manager", - "menu-item-settings", - "menu-item-page-manager", - "menu-item-menu-manager", - "menu-item-analytics", - ]); - - PanConfiguration::routePrefix(config('backpack.pan.events_route_prefix', 'pan')); + PanConfiguration::routePrefix(config('backpack.pan.events_route_prefix', 'pan')); } }