local_user => local_channel

This commit is contained in:
friendica
2015-01-28 20:56:04 -08:00
parent 54fd8b21db
commit a496036066
155 changed files with 886 additions and 886 deletions

View File

@@ -2,13 +2,13 @@
function notes_init(&$a) {
if(! local_user())
if(! local_channel())
return;
$ret = array('success' => true);
if($_REQUEST['note_text'] || $_REQUEST['note_text'] == '') {
$body = escape_tags($_REQUEST['note_text']);
set_pconfig(local_user(),'notes','text',$body);
set_pconfig(local_channel(),'notes','text',$body);
}
// push updates to channel clones