Skip to content

Commit

Permalink
remove demo analytics form package provider
Browse files Browse the repository at this point in the history
  • Loading branch information
pxpm committed Oct 31, 2024
1 parent 40104a9 commit 53b9762
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions src/BackpackPanServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use Illuminate\Support\ServiceProvider;
use Pan\PanConfiguration;


class BackpackPanServiceProvider extends ServiceProvider
{
public function register()
Expand All @@ -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'));
}
}

0 comments on commit 53b9762

Please sign in to comment.