From 3a2f100b020e76a4901890c6eff4ccfa49f6b3c1 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Mon, 17 Jan 2011 17:16:38 -0500 Subject: [PATCH] Remove double attaching of the gallery action widget --- ansel/lib/View/GalleryRenderer/Base.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/ansel/lib/View/GalleryRenderer/Base.php b/ansel/lib/View/GalleryRenderer/Base.php index 921da7801..9b710a200 100644 --- a/ansel/lib/View/GalleryRenderer/Base.php +++ b/ansel/lib/View/GalleryRenderer/Base.php @@ -164,8 +164,6 @@ abstract class Ansel_View_GalleryRenderer_Base (($conf['report_content']['allow'] == 'authenticated' && $GLOBALS['registry']->isAuthenticated()) || $conf['report_content']['allow'] == 'all')) { - - $this->view->addWidget(Ansel_Widget::factory('Actions')); } unset($this->style->widgets['Actions']); } -- 2.11.0