mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 03:55:18 +00:00
more work on hook doco
This commit is contained in:
parent
a29b8b369e
commit
017ea0d624
5 changed files with 8 additions and 6 deletions
1
doc/hook/account_settings_post.bb
Normal file
1
doc/hook/account_settings_post.bb
Normal file
|
@ -0,0 +1 @@
|
|||
[h2]account_settings_post[/h2]
|
1
doc/hook/permissions_update.bb
Normal file
1
doc/hook/permissions_update.bb
Normal file
|
@ -0,0 +1 @@
|
|||
[h2]permissions_update[/h2]
|
|
@ -1 +0,0 @@
|
|||
[h2]settings_account[/h2]
|
|
@ -20,7 +20,10 @@
|
|||
Called when an account has expired, indicating a potential downgrade to "basic" service class
|
||||
|
||||
[zrl=[baseurl]/help/hook/account_settings]account_settings[/zrl]
|
||||
Called when account settings have been saved
|
||||
Called when generating the account settings form
|
||||
|
||||
[zrl=[baseurl]/help/hook/settings_account]account_settings_post[/zrl]
|
||||
Called when posting from the account settings form
|
||||
|
||||
[zrl=[baseurl]/help/hook/activity_received]activity_received[/zrl]
|
||||
Called when an activity (post, comment, like, etc.) has been received from a zot source
|
||||
|
@ -449,9 +452,6 @@
|
|||
[zrl=[baseurl]/help/hook/reverse_magic_auth]reverse_magic_auth[/zrl]
|
||||
Called before invoking reverse magic auth to send you to your own site to authenticate on this site
|
||||
|
||||
[zrl=[baseurl]/help/hook/settings_account]settings_account[/zrl]
|
||||
Called when generating the account settings form
|
||||
|
||||
[zrl=[baseurl]/help/hook/settings_form]settings_form[/zrl]
|
||||
Called when generating the channel settings form
|
||||
|
||||
|
|
|
@ -218,7 +218,8 @@ function settings_post(&$a) {
|
|||
|
||||
check_form_security_token_redirectOnErr('/settings/account', 'settings_account');
|
||||
|
||||
call_hooks('settings_account', $_POST);
|
||||
call_hooks('account_settings_post', $_POST);
|
||||
// call_hooks('settings_account', $_POST);
|
||||
|
||||
$errs = array();
|
||||
|
||||
|
|
Loading…
Reference in a new issue