Index: civinode_utils.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/civinode/civinode_utils.inc,v
retrieving revision 1.23.2.3
diff -u -r1.23.2.3 civinode_utils.inc
--- civinode_utils.inc	1 Feb 2007 07:43:54 -0000	1.23.2.3
+++ civinode_utils.inc	13 Feb 2007 05:07:52 -0000
@@ -1,5 +1,5 @@
 <?php
-  // $Id: civinode_utils.inc,v 1.23.2.3 2007/02/01 07:43:54 torenware Exp $
+  // $Id: civinode_utils.inc,v 1.27 2006/06/21 23:49:16 torenware Exp $
   /**
    *
    * CiviNode Utility Functions
@@ -619,6 +619,18 @@
   return $groups;
 }
 
+/**
+ * Groups for this user
+ *
+ * @param string $op
+ * @return array
+ */
+function civinode_get_current_target_groups($op = 'view') {
+  civinode_check_init();
+  $group_list = civinode_get_groups();
+  return array_keys($group_list);
+}
+
 
 /**
  * Determines if a CRM group contains a contact.
