remote_user => remote_channel

This commit is contained in:
friendica
2015-01-28 20:58:59 -08:00
parent a496036066
commit e157371c39
33 changed files with 47 additions and 47 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ 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_channel()) && (! remote_user()) && (! x($_REQUEST,'commenter')))
if((! local_channel()) && (! remote_channel()) && (! x($_REQUEST,'commenter')))
return;
require_once('include/security.php');
@@ -905,7 +905,7 @@ function item_post(&$a) {
function item_content(&$a) {
if((! local_channel()) && (! remote_user()))
if((! local_channel()) && (! remote_channel()))
return;
require_once('include/security.php');