From 8b3379c231c09ed1f48b170413ef94eff8483ee0 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 23 Dec 2010 23:38:43 -0800 Subject: [PATCH] Mark the register controller as a legal controller when the entire Gallery is private. Fixes #1549. --- 3.0/modules/register/controllers/register.php | 2 ++ 3.1/modules/register/controllers/register.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/3.0/modules/register/controllers/register.php b/3.0/modules/register/controllers/register.php index 7f79bc63..c070e9ef 100755 --- a/3.0/modules/register/controllers/register.php +++ b/3.0/modules/register/controllers/register.php @@ -17,6 +17,8 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class register_Controller extends Controller { + const ALLOW_PRIVATE_GALLERY = true; + public function index() { print $this->_get_form(); } diff --git a/3.1/modules/register/controllers/register.php b/3.1/modules/register/controllers/register.php index 7f79bc63..c070e9ef 100755 --- a/3.1/modules/register/controllers/register.php +++ b/3.1/modules/register/controllers/register.php @@ -17,6 +17,8 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class register_Controller extends Controller { + const ALLOW_PRIVATE_GALLERY = true; + public function index() { print $this->_get_form(); }