From 6b1f490a2af653c4c7ea4ebea414b356c54eba65 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 19 Oct 2018 15:15:24 -0400 Subject: [PATCH 1/2] Updated documentation for logged_in hook location --- doc/Addons.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/Addons.md b/doc/Addons.md index 011bca073..f7dfcc870 100644 --- a/doc/Addons.md +++ b/doc/Addons.md @@ -450,10 +450,6 @@ Here is a complete list of all hook callbacks with file locations (as of 24-Sep- Addon::callHooks('item_photo_menu', $args); Addon::callHooks('jot_tool', $jotplugins); -### include/security.php - - Addon::callHooks('logged_in', $a->user); - ### include/text.php Addon::callHooks('contact_block_end', $arr); @@ -693,6 +689,11 @@ Here is a complete list of all hook callbacks with file locations (as of 24-Sep- Addon::callHooks($a->module.'_post_'.$selname, $o); Addon::callHooks('jot_networks', $jotnets); +### src/Core/Authentication.php + + Addon::callHooks('logged_in', $a->user); + + ### src/Core/Worker.php Addon::callHooks("proc_run", $arr); From 0f44e03a9e49d21105aabafe93d1d45fbac33eae Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 19 Oct 2018 15:18:10 -0400 Subject: [PATCH 2/2] Updated german addons doc with new location for logged_in hook --- doc/de/Addons.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/de/Addons.md b/doc/de/Addons.md index ce9af3778..eb825c072 100644 --- a/doc/de/Addons.md +++ b/doc/de/Addons.md @@ -226,10 +226,6 @@ Eine komplette Liste aller Hook-Callbacks mit den zugehörigen Dateien (am 01-Ap Addon::callHooks('item_photo_menu', $args); Addon::callHooks('jot_tool', $jotplugins); -### include/security.php - - Addon::callHooks('logged_in', $a->user); - ### include/text.php Addon::callHooks('contact_block_end', $arr); @@ -426,6 +422,10 @@ Eine komplette Liste aller Hook-Callbacks mit den zugehörigen Dateien (am 01-Ap Addon::callHooks('page_header', $a->page['nav']); Addon::callHooks('nav_info', $nav); +### src/Core/Authentication.php + + Addon::callHooks('logged_in', $a->user); + ### src/Worker/Directory.php Addon::callHooks('globaldir_update', $arr);