aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
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 /Zotlabs
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 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Apps.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php
index c54a5a111..ec1f3f9dc 100644
--- a/Zotlabs/Lib/Apps.php
+++ b/Zotlabs/Lib/Apps.php
@@ -623,6 +623,7 @@ class Apps {
intval(TERM_OBJ_APP),
intval($x[0]['id'])
);
+ call_hooks('app_destroy', $x[0]);
}
else {
$r = q("update app set app_deleted = 1 where app_id = '%s' and app_channel = %d",