add drop_item hook
This commit is contained in:
parent
ed71567e5c
commit
dde3e28ceb
@ -3551,6 +3551,9 @@ function drop_item($id,$interactive = true) {
|
|||||||
|
|
||||||
if($ok_to_delete) {
|
if($ok_to_delete) {
|
||||||
|
|
||||||
|
$arr = array('item' => $item);
|
||||||
|
call_hooks('drop_item', $arr );
|
||||||
|
|
||||||
$notify_id = intval($item['id']);
|
$notify_id = intval($item['id']);
|
||||||
|
|
||||||
$items = q("select * from item where parent = %d and uid = %d",
|
$items = q("select * from item where parent = %d and uid = %d",
|
||||||
|
Reference in New Issue
Block a user