aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2014-06-02 07:55:46 +0000
committermistic100 <mistic@piwigo.org>2014-06-02 07:55:46 +0000
commit4bd32005b56f6ec741ceeed0a1745fe89f291085 (patch)
treee2ee9bb68d07822bb7c0122831a0ce313a5af2d2 /include/common.inc.php
parentf98edc7a2e423bed534977107e4cb892180cb946 (diff)
feature 3010 : replace trigger_action/event by trigger_notify/change
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/common.inc.php')
-rw-r--r--include/common.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index 3739cfa5f..e6a1d5877 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -175,7 +175,7 @@ if ( is_admin() || (defined('IN_ADMIN') and IN_ADMIN) )
{
load_language('admin.lang');
}
-trigger_action('loading_lang');
+trigger_notify('loading_lang');
load_language('lang', PHPWG_ROOT_PATH.PWG_LOCAL_DIR, array('no_fallback'=>true, 'local'=>true) );
// only now we can set the localized username of the guest user (and not in
@@ -272,5 +272,5 @@ if ( !empty($conf['original_url_protection']) )
add_event_handler('get_element_url', 'get_element_url_protection_handler', EVENT_HANDLER_PRIORITY_NEUTRAL, 2 );
add_event_handler('get_src_image_url', 'get_src_image_url_protection_handler', EVENT_HANDLER_PRIORITY_NEUTRAL, 2 );
}
-trigger_action('init');
+trigger_notify('init');
?>