aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-16 20:21:12 -0700
committerfriendica <info@friendica.com>2013-05-16 20:21:12 -0700
commitdeedac6ae542a1ff8d599076b7e0ef344d30e1a8 (patch)
tree34716c0f51ee88d1ae1507e3c3f61d52a0fc5d52 /mod/item.php
parent98018f4969f3b2ab8e56a15cc6ee72ea190a0da5 (diff)
downloadvolse-hubzilla-deedac6ae542a1ff8d599076b7e0ef344d30e1a8.tar.gz
volse-hubzilla-deedac6ae542a1ff8d599076b7e0ef344d30e1a8.tar.bz2
volse-hubzilla-deedac6ae542a1ff8d599076b7e0ef344d30e1a8.zip
workarounds for people that re-install and end up polluting everybody's databases with stale entries
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/item.php b/mod/item.php
index a8d1bdf31..6678930ec 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -545,6 +545,8 @@ function item_post(&$a) {
echo json_encode(array('preview' => $o));
killme();
}
+ if($orig_post)
+ $datarray['edit'] = true;
call_hooks('post_local',$datarray);