Skip to content

Commit

Permalink
Merge pull request #144 from creative-commoners/pulls/4/remove-menu
Browse files Browse the repository at this point in the history
ENH Remove LinkFieldController from cms menu
  • Loading branch information
GuySartorelli authored Dec 19, 2023
2 parents c171ae8 + ea28fe1 commit 4e6c662
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions _config.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<?php

use SilverStripe\Core\Manifest\ModuleLoader;
use SilverStripe\Forms\HTMLEditor\TinyMCEConfig;
use SilverStripe\Admin\CMSMenu;
use SilverStripe\LinkField\Controllers\LinkFieldController;

// Avoid creating global variables
call_user_func(function () {
});
CMSMenu::remove_menu_class(LinkFieldController::class);

0 comments on commit 4e6c662

Please sign in to comment.