aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Admin.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-19 22:26:37 -0700
committerredmatrix <git@macgirvin.com>2016-05-19 22:26:37 -0700
commita2cec8899ad191b47d116f4ea124be6bd5b05472 (patch)
treeb23952460e035bb37f886cb8fad5cd86c50f1291 /Zotlabs/Module/Admin.php
parent014168a29bfbba69c2ba887af97e5fb290fa21c5 (diff)
downloadvolse-hubzilla-a2cec8899ad191b47d116f4ea124be6bd5b05472.tar.gz
volse-hubzilla-a2cec8899ad191b47d116f4ea124be6bd5b05472.tar.bz2
volse-hubzilla-a2cec8899ad191b47d116f4ea124be6bd5b05472.zip
daemon conversion continued...
Diffstat (limited to 'Zotlabs/Module/Admin.php')
-rw-r--r--Zotlabs/Module/Admin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Admin.php b/Zotlabs/Module/Admin.php
index 4d052cdf8..0a167b273 100644
--- a/Zotlabs/Module/Admin.php
+++ b/Zotlabs/Module/Admin.php
@@ -1082,7 +1082,7 @@ class Admin extends \Zotlabs\Web\Controller {
intval(PAGE_CENSORED),
intval( $uid )
);
- proc_run('php','include/directory.php',$uid,'nopush');
+ \Zotlabs\Daemon\Master::Summon(array('Directory',$uid,'nopush'));
}
notice( sprintf( tt("%s channel censored/uncensored", "%s channels censored/uncensored", count($channels)), count($channels)) );
}
@@ -1141,7 +1141,7 @@ class Admin extends \Zotlabs\Web\Controller {
intval($pflags),
intval( $uid )
);
- proc_run('php','include/directory.php',$uid,'nopush');
+ \Zotlabs\Daemon\Master::Summon(array('Directory',$uid,'nopush'));
notice( sprintf( (($pflags & PAGE_CENSORED) ? t("Channel '%s' censored"): t("Channel '%s' uncensored")) , $channel[0]['channel_name'] . ' (' . $channel[0]['channel_address'] . ')' ) . EOL);
}; break;