removed function was still referenced
This commit is contained in:
parent
9493c29810
commit
1c7dc1879c
1 changed files with 1 additions and 1 deletions
|
@ -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