doc - complete hook list, still need detailed functional descriptions with parameters and examples for each

This commit is contained in:
friendica
2013-10-18 15:48:59 -07:00
parent 3772682204
commit 4ce948731a
3 changed files with 158 additions and 2 deletions

View File

@@ -61,7 +61,8 @@ if((isset($_SESSION)) && (x($_SESSION,'authenticated')) && ((! (x($_POST,'auth-p
if(((x($_POST,'auth-params')) && ($_POST['auth-params'] === 'logout')) || ($a->module === 'logout')) {
// process logout request
call_hooks("logging_out");
$args = array('channel_id' => local_user());
call_hooks('logging_out', $args);
nuke_session();
info( t('Logged out.') . EOL);
goaway(z_root());