aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-10-14 15:08:07 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-10-14 15:08:07 -0700
commit8af3dc140e34094ce101f050feb3da2b8b39470b (patch)
tree1ec87a0d7ec51c9b3dccc033df36438c469de284 /mod/photos.php
parentde697a42671e3c50106dab29eb108a122753a825 (diff)
downloadvolse-hubzilla-8af3dc140e34094ce101f050feb3da2b8b39470b.tar.gz
volse-hubzilla-8af3dc140e34094ce101f050feb3da2b8b39470b.tar.bz2
volse-hubzilla-8af3dc140e34094ce101f050feb3da2b8b39470b.zip
issue #87 - photos not getting deleted from mod_photo when deleted in DAV or cloud
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 887f663ca..320e2beed 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -149,8 +149,9 @@ function photos_post(&$a) {
if($r) {
foreach($r as $i) {
attach_delete($page_owner_uid, $i['resource_id'], 1 );
- drop_item($i['id'],false,DROPITEM_PHASE1,true /* force removal of linked items */);
- proc_run('php','include/notifier.php','drop',$i['id']);
+ // This is now being done in attach_delete()
+ // drop_item($i['id'],false,DROPITEM_PHASE1,true /* force removal of linked items */);
+ // proc_run('php','include/notifier.php','drop',$i['id']);
}
}