aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Filerm.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Filerm.php')
-rw-r--r--Zotlabs/Module/Filerm.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/Zotlabs/Module/Filerm.php b/Zotlabs/Module/Filerm.php
index cbf6a118d..9fdfe6c46 100644
--- a/Zotlabs/Module/Filerm.php
+++ b/Zotlabs/Module/Filerm.php
@@ -28,10 +28,14 @@ class Filerm extends \Zotlabs\Web\Controller {
intval($item_id),
dbesc($term)
);
+
+ $x = q("update item set item_retained = 0, changed = '%s' where id = %d and uid = %d",
+ dbesc(datetime_convert()),
+ intval($item_id),
+ intval(local_channel())
+ );
+
}
-
- if(x($_SESSION,'return_url'))
- goaway(z_root() . '/' . $_SESSION['return_url']);
killme();
}