require_once('include/user.php');
if(! function_exists('register_post')) {
-function register_post(&$a) {
+function register_post(App &$a) {
global $lang;
if(! function_exists('register_content')) {
-function register_content(&$a) {
+function register_content(App &$a) {
// logged in users can register others (people/pages/groups)
// even with closed registrations, unless specifically prohibited by site policy.