mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
local_user => local_channel
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user