src/Service/Emailer.php
public function validateHash($sRef, $sGuid, $sHash)
    {
        return isAdmin() || $this->generateHash($sRef, $sGuid) === $sHash;
    }
public function validateHash($sRef, $sGuid, $sHash)
    {
        return isAdmin() || $this->generateHash($sRef, $sGuid) === $sHash;
    }
public function validateHash ( $ sRef , $ sGuid , $ sHash ) { return isAdmin ( ) || $ this -> generateHash ( $ sRef , $ sGuid ) === $ sHash ; }
Validates an email hash

@param string $sRef  The email's ref
@param string $sGuid The email's guid
@param string $sHash The hash to validate

@return bool
Validates an email hash