aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-26 15:26:11 -0800
committerfriendica <info@friendica.com>2013-11-26 15:26:11 -0800
commitdde3e28ceb150b2ddc6f60ea6c0c25aa45176921 (patch)
treebf748f7247013168856111224b7ee9e62fa76bb4 /include
parented71567e5ce3cc5c9dd30acc0c2bc527960fa3da (diff)
downloadvolse-hubzilla-dde3e28ceb150b2ddc6f60ea6c0c25aa45176921.tar.gz
volse-hubzilla-dde3e28ceb150b2ddc6f60ea6c0c25aa45176921.tar.bz2
volse-hubzilla-dde3e28ceb150b2ddc6f60ea6c0c25aa45176921.zip
add drop_item hook
Diffstat (limited to 'include')
-rwxr-xr-xinclude/items.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index 9fbd3fd8a..6968781f7 100755
--- a/include/items.php
+++ b/include/items.php
@@ -3551,6 +3551,9 @@ function drop_item($id,$interactive = true) {
if($ok_to_delete) {
+ $arr = array('item' => $item);
+ call_hooks('drop_item', $arr );
+
$notify_id = intval($item['id']);
$items = q("select * from item where parent = %d and uid = %d",