Added "DEPRECATED" comment in a couple of CRM_Core_PseudoConstant methods. CRM-12464.
authorAllen Shaw <allen@emphanos.com>
Sat, 4 May 2013 20:41:26 +0000 (13:41 -0700)
committerColeman Watts <coleman@civicrm.org>
Thu, 30 May 2013 05:14:04 +0000 (22:14 -0700)
----------------------------------------
* CRM-12464: Search improvements in 4.4
  http://issues.civicrm.org/jira/browse/CRM-12464

CRM/Core/PseudoConstant.php

index b9552da6efaa20692b5b3fbcb9f012e643d61062..7898a120e9b4ea81f1535d6cc0adaf34db000b54 100644 (file)
@@ -433,6 +433,8 @@ class CRM_Core_PseudoConstant {
   }
 
   /**
+   * DEPRECATED. Please use the buildOptions() method in the appropriate BAO object.
+   *
    * Get all Activty types.
    *
    * The static array activityType is returned
@@ -1342,6 +1344,8 @@ WHERE  id = %1";
   }
 
   /**
+   * DEPRECATED. Please use the buildOptions() method in the appropriate BAO object.
+   *
    * Get all Visibility levels.
    *
    * The static array visibility is returned