aboutsummaryrefslogtreecommitdiffstats
path: root/mod/poco.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-22 20:48:03 -0800
committerfriendica <info@friendica.com>2013-01-22 20:48:03 -0800
commitd06c21dc39b21d58f4c50e0f243a1d95c4137a6b (patch)
tree0be8e36e6443769fe8f9c0e8f008cdc8de5d1da0 /mod/poco.php
parentd43591fb0f5c552b1c725dc2cbaeaea8fe441319 (diff)
downloadvolse-hubzilla-d06c21dc39b21d58f4c50e0f243a1d95c4137a6b.tar.gz
volse-hubzilla-d06c21dc39b21d58f4c50e0f243a1d95c4137a6b.tar.bz2
volse-hubzilla-d06c21dc39b21d58f4c50e0f243a1d95c4137a6b.zip
some poco fixes
Diffstat (limited to 'mod/poco.php')
-rw-r--r--mod/poco.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/poco.php b/mod/poco.php
index c0dc2e133..f87bd8a68 100644
--- a/mod/poco.php
+++ b/mod/poco.php
@@ -7,7 +7,6 @@ function poco_init(&$a) {
if(intval(get_config('system','block_public')))
http_status_exit(401);
-
$observer = $a->get_observer();
if(argc() > 1) {
@@ -15,7 +14,7 @@ function poco_init(&$a) {
}
if(! x($user)) {
$c = q("select * from pconfig where cat = 'system' and k = 'suggestme' and v = 1");
- if(! count($c))
+ if(! $c)
http_status_exit(401);
$system_mode = true;
}