From 8481daa91fe30ae00e0e92dd75b6e0239be1de35 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 12 Nov 2015 16:00:22 +0100 Subject: [PATCH] Remove plus action from dashboard tabs refs #5543 --- application/controllers/DashboardController.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/application/controllers/DashboardController.php b/application/controllers/DashboardController.php index 6c8eaa480..687998d6b 100644 --- a/application/controllers/DashboardController.php +++ b/application/controllers/DashboardController.php @@ -253,14 +253,6 @@ class DashboardController extends ActionController $this->dashboard->getConfig()->saveIni(); $this->redirectNow(URL::fromRequest()->remove('remove')); } - $this->view->tabs->add( - 'Add', - array( - 'label' => '+', - 'title' => 'Add a dashlet to an existing or new dashboard', - 'url' => Url::fromPath('dashboard/new-dashlet') - ) - ); $this->view->dashboard = $this->dashboard; } }