removed function was still referenced

This commit is contained in:
Friendika 2011-01-11 14:05:40 -08:00
parent 9493c29810
commit 1c7dc1879c

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