Avoid CiviCRM running full drupal cache flush, as this results in CiviCRM clobbering...
[civicrm-core.git] / CRM / ACL / BAO / ACL.php
index 9e5e2fb9cc44af1d05fad54385a8f14b0283047b..c15e9c738e175be388adb56ab4d06b8432a4b6c4 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
  * $Id$
  *
  */
@@ -446,7 +446,7 @@ class CRM_ACL_BAO_ACL extends CRM_ACL_DAO_ACL {
   }
 
   /**
-   * Get all of the ACLs through ACL groups
+   * Get all of the ACLs through ACL groups.
    *
    * @param int $contact_id
    *   ID of a contact to search for.
@@ -512,7 +512,7 @@ class CRM_ACL_BAO_ACL extends CRM_ACL_DAO_ACL {
   }
 
   /**
-   * Get all ACLs granted to a contact through all group memberships
+   * Get all ACLs granted to a contact through all group memberships.
    *
    * @param int $contact_id
    *   The contact's ID.
@@ -557,7 +557,7 @@ SELECT      $acl.*
   }
 
   /**
-   * Get all of the ACLs for a contact through ACL groups owned by Contact
+   * Get all of the ACLs for a contact through ACL groups owned by Contact.
    * groups.
    *
    * @param int $contact_id
@@ -671,7 +671,7 @@ SELECT $acl.*
   }
 
   /**
-   * Update the is_active flag in the db
+   * Update the is_active flag in the db.
    *
    * @param int $id
    *   Id of the database record.
@@ -679,7 +679,7 @@ SELECT $acl.*
    *   Value we want to set the is_active field.
    *
    * @return Object
-   *   DAO object on sucess, null otherwise
+   *   DAO object on success, null otherwise
    */
   public static function setIsActive($id, $is_active) {
     // note this also resets any ACL cache
@@ -963,7 +963,7 @@ ORDER BY a.object_id
   }
 
   /**
-   * Delete ACL records
+   * Delete ACL records.
    *
    * @param int $aclId
    *   ID of the ACL record to be deleted.