aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-02 14:29:56 +0200
committerMario Vavti <mario@mariovavti.com>2018-10-02 14:29:56 +0200
commit67f19745fd5c66345a7e64b3d5fdedf6c1a6b8b6 (patch)
treea6ad2c4d2c6bff55ccc75d6545ea41a8085cb335 /doc
parent72abe5f3d377043f6aba31090a6671a7e171ddfb (diff)
downloadvolse-hubzilla-67f19745fd5c66345a7e64b3d5fdedf6c1a6b8b6.tar.gz
volse-hubzilla-67f19745fd5c66345a7e64b3d5fdedf6c1a6b8b6.tar.bz2
volse-hubzilla-67f19745fd5c66345a7e64b3d5fdedf6c1a6b8b6.zip
add app_destroy hook which allows addons to perform post delete actions
Diffstat (limited to 'doc')
-rw-r--r--doc/hook/app_destroy.bb4
-rw-r--r--doc/hooklist.bb3
2 files changed, 7 insertions, 0 deletions
diff --git a/doc/hook/app_destroy.bb b/doc/hook/app_destroy.bb
new file mode 100644
index 000000000..386d7af16
--- /dev/null
+++ b/doc/hook/app_destroy.bb
@@ -0,0 +1,4 @@
+[h2]app_destroy[/h2]
+
+Allows addons to perform some post delete actions.
+
diff --git a/doc/hooklist.bb b/doc/hooklist.bb
index aab4aff33..d493e4feb 100644
--- a/doc/hooklist.bb
+++ b/doc/hooklist.bb
@@ -52,6 +52,9 @@ Hooks allow plugins/addons to "hook into" the code at many points and alter the
[zrl=[baseurl]/help/hook/api_perm_is_allowed]api_perm_is_allowed[/zrl]
Called when perm_is_allowed() is executed from an API call.
+[zrl=[baseurl]/help/hook/app_destroy]app_destroy[/zrl]
+ Called when an app is deleted
+
[zrl=[baseurl]/help/hook/app_installed_filter]app_installed_filter[/zrl]
Called when determining whether an app is installed