diff options
author | redmatrix <git@macgirvin.com> | 2016-05-19 22:26:37 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-19 22:26:37 -0700 |
commit | a2cec8899ad191b47d116f4ea124be6bd5b05472 (patch) | |
tree | b23952460e035bb37f886cb8fad5cd86c50f1291 /Zotlabs/Module/Locs.php | |
parent | 014168a29bfbba69c2ba887af97e5fb290fa21c5 (diff) | |
download | volse-hubzilla-a2cec8899ad191b47d116f4ea124be6bd5b05472.tar.gz volse-hubzilla-a2cec8899ad191b47d116f4ea124be6bd5b05472.tar.bz2 volse-hubzilla-a2cec8899ad191b47d116f4ea124be6bd5b05472.zip |
daemon conversion continued...
Diffstat (limited to 'Zotlabs/Module/Locs.php')
-rw-r--r-- | Zotlabs/Module/Locs.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Module/Locs.php b/Zotlabs/Module/Locs.php index 4b5d58df5..4b1e3ffe2 100644 --- a/Zotlabs/Module/Locs.php +++ b/Zotlabs/Module/Locs.php @@ -34,7 +34,7 @@ class Locs extends \Zotlabs\Web\Controller { dbesc($channel['channel_hash']) ); - proc_run('php','include/notifier.php','location',$channel['channel_id']); + \Zotlabs\Daemon\Master::Summon(array('Notifier','location',$channel['channel_id'])); return; } } @@ -72,7 +72,7 @@ class Locs extends \Zotlabs\Web\Controller { intval($hubloc_id), dbesc($channel['channel_hash']) ); - proc_run('php','include/notifier.php','location',$channel['channel_id']); + \Zotlabs\Daemon\Master::Summon(array('Notifier','location',$channel['channel_id'])); return; } } @@ -91,7 +91,7 @@ class Locs extends \Zotlabs\Web\Controller { $channel = \App::get_channel(); if($_REQUEST['sync']) { - proc_run('php','include/notifier.php','location',$channel['channel_id']); + \Zotlabs\Daemon\Master::Summon(array('Notifier','location',$channel['channel_id'])); info( t('Syncing locations') . EOL); goaway(z_root() . '/locs'); } |