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

@@ -76,7 +76,7 @@ function magic_init(&$a) {
// By default, we'll proceed without asking.
$arr = array(
'channel_id' => local_user(),
'channel_id' => local_channel(),
'xchan' => $x[0],
'destination' => $dest,
'proceed' => true
@@ -103,7 +103,7 @@ function magic_init(&$a) {
goaway($dest);
}
if(local_user()) {
if(local_channel()) {
$channel = $a->get_channel();
$token = random_string();