X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FKey.php;h=88b60d02d25a922edc5ba62133a88fd1b56a74d9;hb=7fce4915eecc80f9f693a490548d579c1ca6aec6;hp=0076431be7570549853e612fe3aebbdb1c6901cb;hpb=ad314df7cc28a13a58caee38ccf30750572c5f11;p=civicrm-core.git diff --git a/CRM/Core/Key.php b/CRM/Core/Key.php index 0076431be7..88b60d02d2 100644 --- a/CRM/Core/Key.php +++ b/CRM/Core/Key.php @@ -23,7 +23,7 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * @@ -38,7 +38,7 @@ class CRM_Core_Key { static $_sessionID = NULL; /** - * Generate a private key per session and store in session + * Generate a private key per session and store in session. * * @return string * private key for this session @@ -95,7 +95,7 @@ class CRM_Core_Key { } /** - * Validate a form key based on the form name + * Validate a form key based on the form name. * * @param string $key * @param string $name @@ -153,4 +153,5 @@ class CRM_Core_Key { // ensure that hash is a 32 digit hex number return preg_match('#[0-9a-f]{32}#i', $hash) ? TRUE : FALSE; } + }