diff options
author | zotlabs <mike@macgirvin.com> | 2017-12-07 11:49:25 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-12-07 11:49:25 -0800 |
commit | 979c05b24da0497be582aacaa8b744f692b56ccf (patch) | |
tree | b311b0b398272ff4de778a72c12e748d2c15fa7c /Zotlabs/Module/Photos.php | |
parent | e5653945d35e00ae1821fa93e502cc4555519735 (diff) | |
parent | 3dac1a8d4ae6d087ff9bea6f194b76a37e34f938 (diff) | |
download | volse-hubzilla-979c05b24da0497be582aacaa8b744f692b56ccf.tar.gz volse-hubzilla-979c05b24da0497be582aacaa8b744f692b56ccf.tar.bz2 volse-hubzilla-979c05b24da0497be582aacaa8b744f692b56ccf.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'Zotlabs/Module/Photos.php')
-rw-r--r-- | Zotlabs/Module/Photos.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Zotlabs/Module/Photos.php b/Zotlabs/Module/Photos.php index 1c42c0510..81af607ec 100644 --- a/Zotlabs/Module/Photos.php +++ b/Zotlabs/Module/Photos.php @@ -202,6 +202,11 @@ class Photos extends \Zotlabs\Web\Controller { ); if(($m) && ($m[0]['folder'] != $_POST['move_to_album'])) { attach_move($page_owner_uid,argv(2),$_POST['move_to_album']); + + $sync = attach_export_data(\App::$data['channel'],argv(2),true); + if($sync) + build_sync_packet($page_owner_uid,array('file' => array($sync))); + if(! ($_POST['desc'] && $_POST['newtag'])) goaway(z_root() . '/' . $_SESSION['photo_return']); } |