Mark the register controller as a legal controller when the entire
Gallery is private. Fixes #1549.
This commit is contained in:
parent
6dfa636c3e
commit
8b3379c231
@ -17,6 +17,8 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
class register_Controller extends Controller {
|
class register_Controller extends Controller {
|
||||||
|
const ALLOW_PRIVATE_GALLERY = true;
|
||||||
|
|
||||||
public function index() {
|
public function index() {
|
||||||
print $this->_get_form();
|
print $this->_get_form();
|
||||||
}
|
}
|
||||||
|
@ -17,6 +17,8 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
class register_Controller extends Controller {
|
class register_Controller extends Controller {
|
||||||
|
const ALLOW_PRIVATE_GALLERY = true;
|
||||||
|
|
||||||
public function index() {
|
public function index() {
|
||||||
print $this->_get_form();
|
print $this->_get_form();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user