Index: modules/trigger/trigger.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/trigger/trigger.module,v
retrieving revision 1.23
diff -u -p -r1.23 trigger.module
--- modules/trigger/trigger.module	9 Dec 2008 11:30:25 -0000	1.23
+++ modules/trigger/trigger.module	10 Dec 2008 01:27:20 -0000
@@ -133,7 +133,7 @@ function trigger_access_check($module) {
  * @return
  *   An array of action IDs.
  */
-function _trigger_get_hook_aids($hook, $op = '') {
+function trigger_get_hook_aids($hook, $op = '') {
   $aids = array();
   $result = db_query("SELECT aa.aid, a.type FROM {trigger_assignments} aa LEFT JOIN {actions} a ON aa.aid = a.aid WHERE aa.hook = '%s' AND aa.op = '%s' ORDER BY weight", $hook, $op);
   while ($action = db_fetch_object($result)) {
@@ -215,7 +215,7 @@ function _trigger_nodeapi($node, $op, $a
   }
   $recursion[$op] = TRUE;
 
-  $aids = _trigger_get_hook_aids('nodeapi', $op);
+  $aids = trigger_get_hook_aids('nodeapi', $op);
   if (!$aids) {
     return;
   }
@@ -313,7 +313,7 @@ function trigger_comment($a1, $op) {
   if (!in_array($op, array('insert', 'update', 'delete', 'view'))) {
     return;
   }
-  $aids = _trigger_get_hook_aids('comment', $op);
+  $aids = trigger_get_hook_aids('comment', $op);
   $context = array(
     'hook' => 'comment',
     'op' => $op,
@@ -342,7 +342,7 @@ function trigger_comment($a1, $op) {
  * Implementation of hook_cron().
  */
 function trigger_cron() {
-  $aids = _trigger_get_hook_aids('cron');
+  $aids = trigger_get_hook_aids('cron');
   $context = array(
     'hook' => 'cron',
     'op' => '',
@@ -437,7 +437,7 @@ function _trigger_user($op, &$edit, &$ac
   if (!in_array($op, array('login', 'logout', 'insert', 'update', 'delete', 'view'))) {
     return;
   }
-  $aids = _trigger_get_hook_aids('user', $op);
+  $aids = trigger_get_hook_aids('user', $op);
   $context = array(
     'hook' => 'user',
     'op' => $op,
@@ -464,7 +464,7 @@ function trigger_taxonomy($op, $type, $a
   if ($type != 'term') {
     return;
   }
-  $aids = _trigger_get_hook_aids('taxonomy', $op);
+  $aids = trigger_get_hook_aids('taxonomy', $op);
   $context = array(
     'hook' => 'taxonomy',
     'op' => $op
