diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-09-20 12:10:39 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-09-20 12:10:39 +0200 |
commit | a6db822a696afe808d9c8cb34af1075a42fffada (patch) | |
tree | 6692324758d22afa7d0588a8262d53eabde99ee7 /doc/hook/attach_delete.bb | |
parent | ad8226d549f40a1ae1ea47a83778afffb9230042 (diff) | |
parent | 1b2732705782a6369bdff0c00b650dfc5c1353a9 (diff) | |
download | volse-hubzilla-a6db822a696afe808d9c8cb34af1075a42fffada.tar.gz volse-hubzilla-a6db822a696afe808d9c8cb34af1075a42fffada.tar.bz2 volse-hubzilla-a6db822a696afe808d9c8cb34af1075a42fffada.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'doc/hook/attach_delete.bb')
-rw-r--r-- | doc/hook/attach_delete.bb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/hook/attach_delete.bb b/doc/hook/attach_delete.bb new file mode 100644 index 000000000..3b63f28d3 --- /dev/null +++ b/doc/hook/attach_delete.bb @@ -0,0 +1,11 @@ +[h2]attach_delete[/h2] + +Invoked when an attachment is deleted using attach_delete(). + +[code] +$arr = ['channel_id' => $channel_id, 'resource' => $resource, 'is_photo'=>$is_photo]; +call_hooks("attach_delete",$arr); +[/code] + + +See include/attach.php |