aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-04 23:05:45 -0700
committerfriendica <info@friendica.com>2012-10-04 23:05:45 -0700
commit7bee460df28bcd956206c3719e091fb500e3045d (patch)
tree4d06c81c9cfd39d2f88cab1c52aa5b6d11ef20ab /mod/item.php
parent4302134fdd2640843aa1349e95285b966d1282ab (diff)
downloadvolse-hubzilla-7bee460df28bcd956206c3719e091fb500e3045d.tar.gz
volse-hubzilla-7bee460df28bcd956206c3719e091fb500e3045d.tar.bz2
volse-hubzilla-7bee460df28bcd956206c3719e091fb500e3045d.zip
provide auto admin registration as before, but allow the current admin to create other admins
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/item.php b/mod/item.php
index 4c30736c9..83c0fa1d3 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -22,6 +22,10 @@ require_once('include/items.php');
function item_post(&$a) {
+
+ // This will change. Figure out who the observer is and whether or not
+ // they have permission to post here. Else ignore the post.
+
if((! local_user()) && (! remote_user()) && (! x($_REQUEST,'commenter')))
return;