removed function was still referenced
This commit is contained in:
parent
9493c29810
commit
1c7dc1879c
|
@ -355,7 +355,7 @@ function register_content(&$a) {
|
|||
|
||||
$block = get_config('system','block_extended_register');
|
||||
|
||||
if((($a->config['register_policy'] == REGISTER_CLOSED) && (! getuid())) || ($block)) {
|
||||
if((($a->config['register_policy'] == REGISTER_CLOSED) && (! local_user())) || ($block)) {
|
||||
notice("Permission denied." . EOL);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue