Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Commit

Permalink
Fixed calling action using $PLG object to simply using the function.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkader committed Apr 28, 2018
1 parent dd7519e commit 0dd836a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/system/core/CodeIgniter.php
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ function &get_instance()
* ------------------------------------------------------
*/
$EXT->call_hook('pre_controller');
$PLG->do_action('pre_controller');
do_action('pre_controller');

/*
* ------------------------------------------------------
Expand All @@ -564,7 +564,7 @@ function &get_instance()
* ------------------------------------------------------
*/
$EXT->call_hook('post_controller_constructor');
$PLG->do_action('post_controller_constructor');
do_action('post_controller_constructor');

/*
* ------------------------------------------------------
Expand All @@ -582,7 +582,7 @@ function &get_instance()
* ------------------------------------------------------
*/
$EXT->call_hook('post_controller');
$PLG->do_action('post_controller');
do_action('post_controller');

/*
* ------------------------------------------------------
Expand All @@ -600,4 +600,4 @@ function &get_instance()
* ------------------------------------------------------
*/
$EXT->call_hook('post_system');
$PLG->do_action('post_system');
do_action('post_system');

0 comments on commit 0dd836a

Please sign in to comment.