From f87a8e3065731e468fb66fcfc2d764d830896db2 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Wed, 7 Jul 2021 19:39:14 +0100 Subject: [PATCH] Add deprecated flag to functions --- CRM/ACL/API.php | 2 ++ CRM/ACL/BAO/ACL.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/CRM/ACL/API.php b/CRM/ACL/API.php index 19c71c7924..6319a5a699 100644 --- a/CRM/ACL/API.php +++ b/CRM/ACL/API.php @@ -38,6 +38,8 @@ class CRM_ACL_API { * * @return bool * true if yes, else false + * + * @deprecated */ public static function check($str, $contactID = NULL) { \CRM_Core_Error::deprecatedWarning(__CLASS__ . '::' . __FUNCTION__ . ' is deprecated.'); diff --git a/CRM/ACL/BAO/ACL.php b/CRM/ACL/BAO/ACL.php index 6eb5d2fdca..ea6bdd257d 100644 --- a/CRM/ACL/BAO/ACL.php +++ b/CRM/ACL/BAO/ACL.php @@ -188,6 +188,8 @@ SELECT acl.* * @param int $contactID * * @return bool + * + * @deprecated */ public static function check($str, $contactID) { \CRM_Core_Error::deprecatedWarning(__CLASS__ . '::' . __FUNCTION__ . ' is deprecated.'); -- 2.25.1