From 0677f5a4eec8233dc9c54aa947dd028fae4729eb Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Wed, 18 Mar 2020 10:48:15 -0400 Subject: [PATCH] Annotate deprecated functions --- CRM/ACL/BAO/ACL.php | 4 +++- CRM/Activity/BAO/Activity.php | 2 +- CRM/Utils/PDF/Utils.php | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CRM/ACL/BAO/ACL.php b/CRM/ACL/BAO/ACL.php index a76081f8df..3f86531474 100644 --- a/CRM/ACL/BAO/ACL.php +++ b/CRM/ACL/BAO/ACL.php @@ -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, diff --git a/CRM/Activity/BAO/Activity.php b/CRM/Activity/BAO/Activity.php index ec13f74d59..c2e818108c 100644 --- a/CRM/Activity/BAO/Activity.php +++ b/CRM/Activity/BAO/Activity.php @@ -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 diff --git a/CRM/Utils/PDF/Utils.php b/CRM/Utils/PDF/Utils.php index 923452c10e..c5cf7003f1 100644 --- a/CRM/Utils/PDF/Utils.php +++ b/CRM/Utils/PDF/Utils.php @@ -112,6 +112,7 @@ class CRM_Utils_PDF_Utils { /** * Convert html to tcpdf. * + * @deprecated * @param $paper_size * @param $orientation * @param $margins -- 2.25.1