make function static to stop strict warnings and reflect how it is actually used;
authorginkgoMZD <mzd@ginkgostreet.com>
Mon, 19 Jan 2015 21:02:37 +0000 (16:02 -0500)
committerginkgoMZD <mzd@ginkgostreet.com>
Mon, 19 Jan 2015 21:02:37 +0000 (16:02 -0500)
CRM/Event/Form/ManageEvent/Registration.php

index 95f4e5c67a94b1f506bd5c83c963fa20300fa4a2..ee6cecba0c1339dff8c238868e033b75a2c568b5 100644 (file)
@@ -733,7 +733,7 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent
    * @return boolean
    */
 
-  function canProfilesDedupe($profileIds, $rgId = 0) {
+  public static function canProfilesDedupe($profileIds, $rgId = 0) {
 
     // find the unsupervised rule