aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-11 14:05:40 -0800
committerFriendika <info@friendika.com>2011-01-11 14:05:40 -0800
commit1c7dc1879c4044848dbeb981be058dd8e78404f5 (patch)
tree52f6a14bb9a05be763ab3dd86c672798a67742f0
parent9493c29810181408512096b5ee16c769ab1888b9 (diff)
downloadvolse-hubzilla-1c7dc1879c4044848dbeb981be058dd8e78404f5.tar.gz
volse-hubzilla-1c7dc1879c4044848dbeb981be058dd8e78404f5.tar.bz2
volse-hubzilla-1c7dc1879c4044848dbeb981be058dd8e78404f5.zip
removed function was still referenced
-rw-r--r--mod/register.php2
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;
}