]> git.mxchange.org Git - friendica.git/commitdiff
goaway to network if deleted item + remove goaway for filerm
authorJonny Tischbein <jonny_tischbein@systemli.org>
Tue, 9 Oct 2018 18:44:30 +0000 (20:44 +0200)
committerJonny Tischbein <jonny_tischbein@systemli.org>
Tue, 9 Oct 2018 18:44:30 +0000 (20:44 +0200)
include/items.php
mod/filerm.php

index cfd792e2dabe35800fcf4f6848ed15d3995e8461..e8e2a5da0df57394ec70885a38471085a4b4715f 100644 (file)
@@ -407,7 +407,7 @@ function drop_item($id)
                // delete the item
                Item::deleteForUser(['id' => $item['id']], local_user());
 
-               goaway('/item/drop/' . $id);
+               goaway('/network');
                //NOTREACHED
        } else {
                notice(L10n::t('Permission denied.') . EOL);
index 55b218e1519df0fd337321d21405ff9a3e21b28b..7fb978ae6952e8aeebfeccdbc7c517163481f50e 100644 (file)
@@ -25,7 +25,7 @@ function filerm_content(App $a) {
                file_tag_unsave_file(local_user(),$item_id,$term, $category);
        }
 
-       goaway('/network');
+       //goaway('/network');
 
        killme();
 }