aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-26 17:57:27 -0700
committerfriendica <info@friendica.com>2012-03-26 17:57:27 -0700
commitb5d0315d55b6488d9493dd49bd35a2fe1b1492c7 (patch)
treefc3fbda1fd755912423fb186a651d64c5eb8dab0 /include/items.php
parent03b95c9a091920d0796f7835afc762d09971ab32 (diff)
downloadvolse-hubzilla-b5d0315d55b6488d9493dd49bd35a2fe1b1492c7.tar.gz
volse-hubzilla-b5d0315d55b6488d9493dd49bd35a2fe1b1492c7.tar.bz2
volse-hubzilla-b5d0315d55b6488d9493dd49bd35a2fe1b1492c7.zip
preparation for some possibly killer features
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/items.php b/include/items.php
index 7b9b7315f..708fd8121 100755
--- a/include/items.php
+++ b/include/items.php
@@ -7,14 +7,11 @@ require_once('include/crypto.php');
function get_feed_for(&$a, $dfrn_id, $owner_nick, $last_update, $direction = 0) {
- // default permissions - anonymous user
-
- if(! strlen($owner_nick))
- killme();
+ $sitefeed = ((strlen($owner_nick)) ? false : true); // not yet implemented, need to rewrite huge chunks of following logic
$public_feed = (($dfrn_id) ? false : true);
- $starred = false;
- $converse = false;
+ $starred = false; // not yet implemented, possible security issues
+ $converse = false;
if($public_feed && $a->argc > 2) {
for($x = 2; $x < $a->argc; $x++) {
@@ -25,6 +22,7 @@ function get_feed_for(&$a, $dfrn_id, $owner_nick, $last_update, $direction = 0)
}
}
+ // default permissions - anonymous user
$sql_extra = " AND `allow_cid` = '' AND `allow_gid` = '' AND `deny_cid` = '' AND `deny_gid` = '' ";