Annotate deprecated functions
authorColeman Watts <coleman@civicrm.org>
Wed, 18 Mar 2020 14:48:15 +0000 (10:48 -0400)
committerColeman Watts <coleman@civicrm.org>
Wed, 18 Mar 2020 14:48:15 +0000 (10:48 -0400)
CRM/ACL/BAO/ACL.php
CRM/Activity/BAO/Activity.php
CRM/Utils/PDF/Utils.php

index a76081f8df3140bffd29f67568e402771096dd67..3f865314748620e5b13b02a4265eb1e525137b26 100644 (file)
@@ -30,7 +30,7 @@ class CRM_ACL_BAO_ACL extends CRM_ACL_DAO_ACL {
 
   /**
    * Get ACL entity table.
-   *
+   * @deprecated
    * @return array|null
    */
   public static function entityTable() {
@@ -46,6 +46,7 @@ class CRM_ACL_BAO_ACL extends CRM_ACL_DAO_ACL {
 
   /**
    * @return array|null
+   * @deprecated
    */
   public static function objectTable() {
     CRM_Core_Error::deprecatedFunctionWarning('unused function to be removed');
@@ -88,6 +89,7 @@ class CRM_ACL_BAO_ACL extends CRM_ACL_DAO_ACL {
    *   The ID of the object.
    * @param array $tables
    *   Tables that will be needed in the FROM.
+   * @deprecated
    *
    * @return string|null
    *   WHERE-style clause to filter results,
index ec13f74d59fad065fabffc0a914e0821301b1aa5..c2e818108cdab3252bb4ecdfbb21ef248477e4c6 100644 (file)
@@ -1855,7 +1855,7 @@ WHERE      activity.id IN ($activityIds)";
    *
    * @param $activityID
    *   Current activity id.
-   *
+   * @deprecated
    * @return int
    *   $params  count of prior activities otherwise false.
    * @throws \CRM_Core_Exception
index 923452c10eb0586e553b16937e2a3a3f3972b9d8..c5cf7003f1ea851739c8fda568369a2f59e62155 100644 (file)
@@ -112,6 +112,7 @@ class CRM_Utils_PDF_Utils {
   /**
    * Convert html to tcpdf.
    *
+   * @deprecated
    * @param $paper_size
    * @param $orientation
    * @param $margins