daemon conversion continued...

This commit is contained in:
redmatrix
2016-05-19 22:26:37 -07:00
parent 014168a29b
commit a2cec8899a
49 changed files with 66 additions and 1804 deletions

View File

@@ -53,14 +53,13 @@ class Follow extends \Zotlabs\Web\Controller {
// If we can view their stream, pull in some posts
if(($result['abook']['abook_their_perms'] & PERMS_R_STREAM) || ($result['abook']['xchan_network'] === 'rss'))
proc_run('php','include/onepoll.php',$result['abook']['abook_id']);
\Zotlabs\Daemon\Master::Summon(array('Onepoll',$result['abook']['abook_id']));
goaway(z_root() . '/connedit/' . $result['abook']['abook_id'] . '?f=&follow=1');
}
function get() {
function get() {
if(! local_channel()) {
return login();
}