diff options
author | Friendika <info@friendika.com> | 2011-01-11 14:05:40 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-01-11 14:05:40 -0800 |
commit | 1c7dc1879c4044848dbeb981be058dd8e78404f5 (patch) | |
tree | 52f6a14bb9a05be763ab3dd86c672798a67742f0 | |
parent | 9493c29810181408512096b5ee16c769ab1888b9 (diff) | |
download | volse-hubzilla-1c7dc1879c4044848dbeb981be058dd8e78404f5.tar.gz volse-hubzilla-1c7dc1879c4044848dbeb981be058dd8e78404f5.tar.bz2 volse-hubzilla-1c7dc1879c4044848dbeb981be058dd8e78404f5.zip |
removed function was still referenced
-rw-r--r-- | mod/register.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/register.php b/mod/register.php index 86bfe2066..b52888ef9 100644 --- a/mod/register.php +++ b/mod/register.php @@ -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; } |