Remove double attaching of the gallery action widget
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 17 Jan 2011 22:16:38 +0000 (17:16 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 17 Jan 2011 22:16:38 +0000 (17:16 -0500)
ansel/lib/View/GalleryRenderer/Base.php

index 921da78..9b710a2 100644 (file)
@@ -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']);
             }