Merge pull request #19578 from MegaphoneJon/buildoptions
[civicrm-core.git] / CRM / ACL / API.php
index ba4991dc2de8d29fb8452427f29347a00458c064..17982fb7baa92c3cc9ded987094c8b501dc071e1 100644 (file)
@@ -189,7 +189,7 @@ class CRM_ACL_API {
     }
 
     if (!$contactID) {
-      $contactID = CRM_Core_Session::singleton()->getLoggedInContactID();
+      $contactID = CRM_Core_Session::getLoggedInContactID();
     }
 
     $key = "{$tableName}_{$type}_{$contactID}";