removed function was still referenced

This commit is contained in:
Friendika 2011-01-11 14:05:40 -08:00
parent 9493c29810
commit 1c7dc1879c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}