aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Profile_photo.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/Profile_photo.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/Profile_photo.php')
-rw-r--r--Zotlabs/Module/Profile_photo.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Profile_photo.php b/Zotlabs/Module/Profile_photo.php
index 8f879503c..efcc7bece 100644
--- a/Zotlabs/Module/Profile_photo.php
+++ b/Zotlabs/Module/Profile_photo.php
@@ -179,7 +179,7 @@ class Profile_photo extends \Zotlabs\Web\Controller {
info( t('Shift-reload the page or clear browser cache if the new photo does not display immediately.') . EOL);
// Update directory in background
- proc_run('php',"include/directory.php",$channel['channel_id']);
+ \Zotlabs\Daemon\Master::Summon(array('Directory',$channel['channel_id']));
// Now copy profile-permissions to pictures, to prevent privacyleaks by automatically created folder 'Profile Pictures'
@@ -311,7 +311,7 @@ class Profile_photo extends \Zotlabs\Web\Controller {
);
profile_photo_set_profile_perms(); //Reset default photo permissions to public
- proc_run('php','include/directory.php',local_channel());
+ \Zotlabs\Daemon\Master::Summon(array('Directory',local_channel()));
goaway(z_root() . '/profiles');
}