Deprecate unused function
authoreileen <emcnaughton@wikimedia.org>
Mon, 14 Jan 2019 10:39:48 +0000 (23:39 +1300)
committereileen <emcnaughton@wikimedia.org>
Tue, 15 Jan 2019 01:38:18 +0000 (14:38 +1300)
CRM/ACL/BAO/ACL.php

index 4c003570200872c8f8fb52bc6f674b3a41d6d664..f74f1c6026b21813dea04ae216924cf5341921c7 100644 (file)
@@ -94,6 +94,8 @@ class CRM_ACL_BAO_ACL extends CRM_ACL_DAO_ACL {
   /**
    * Construct a WHERE clause to handle permissions to $object_*
    *
+   * @deprecated
+   *
    * @param array $tables
    *   Any tables that may be needed in the FROM.
    * @param string $operation
@@ -115,6 +117,7 @@ class CRM_ACL_BAO_ACL extends CRM_ACL_DAO_ACL {
     $object_table = NULL, $object_id = NULL,
     $acl_id = NULL, $acl_role = FALSE
   ) {
+    CRM_Core_Error::deprecatedFunctionWarning('unknown - this is really old & not used in core');
     $dao = new CRM_ACL_DAO_ACL();
 
     $t = array(