Added parameters

This commit is contained in:
Michael 2019-11-05 20:22:54 +00:00
parent abe6724629
commit bd62d548db
84 changed files with 172 additions and 177 deletions

View file

@ -35,7 +35,7 @@ class Register extends BaseModule
*
* @return string
*/
public static function content()
public static function content($parameters)
{
// logged in users can register others (people/pages/groups)
// even with closed registrations, unless specifically prohibited by site policy.
@ -152,7 +152,7 @@ class Register extends BaseModule
* Extend this method if the module is supposed to process POST requests.
* Doesn't display any content
*/
public static function post()
public static function post($parameters)
{
BaseModule::checkFormSecurityTokenRedirectOnError('/register', 'register');