X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FPermission%2FBase.php;h=9b1ae5709bbcfa3486bfe22485ba5a401efe33ef;hb=f8307138bf292130a628e68f346535b398ae9b63;hp=c0ac7fcf7447625b50042a1e8a511a5a5a5ca7b9;hpb=322c135ac129071763864a333681318fc6789c20;p=civicrm-core.git diff --git a/CRM/Core/Permission/Base.php b/CRM/Core/Permission/Base.php index c0ac7fcf74..9b1ae5709b 100644 --- a/CRM/Core/Permission/Base.php +++ b/CRM/Core/Permission/Base.php @@ -75,10 +75,10 @@ class CRM_Core_Permission_Base { } /** - * Get the current permission of this user. + * Get the maximum permission of the current user with respect to _any_ contact records. * - * @return string - * the permission of the user (edit or view or null) + * @return int|string|null + * @see \CRM_Core_Permission::getPermission() */ public function getPermission() { $this->group();