aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions.inc.php2
-rw-r--r--tools/triggers_list.php7
2 files changed, 9 insertions, 0 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 9d8bfa923..027299e66 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -1020,6 +1020,8 @@ SELECT param, value
}
$conf[ $row['param'] ] = $val;
}
+
+ trigger_action('load_conf', $condition);
}
function conf_update_param($param, $value)
diff --git a/tools/triggers_list.php b/tools/triggers_list.php
index 0cb12e7a1..152e2f40e 100644
--- a/tools/triggers_list.php
+++ b/tools/triggers_list.php
@@ -245,6 +245,13 @@ array(
'files' => array('admin\include\functions.inc.php (invalidate_user_cache)'),
),
array(
+ 'name' => 'load_conf',
+ 'type' => 'trigger_action',
+ 'vars' => array('string', 'condition'),
+ 'files' => array('include\functions.inc.php (load_conf_from_db)'),
+ 'infos' => 'New in 2.6. <b>Warning:</b> you can\'t trigger the first call done une common.inc.php. Use <i>init</i> instead.',
+),
+array(
'name' => 'list_check_integrity',
'type' => 'trigger_action',
'vars' => array('object', 'this'),