From 16966a115dd186bef53b93a821ff3bf60050c3c0 Mon Sep 17 00:00:00 2001 From: Jacob Christiansen <jach@wayf.dk> Date: Tue, 30 Nov 2010 10:46:46 +0000 Subject: [PATCH] [Consent] Function called statically in both Consent and ConsentAdmin, so function is declared as static. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2668 44740490-163a-0410-bde0-09ae8108e29a --- modules/consent/lib/Auth/Process/Consent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/consent/lib/Auth/Process/Consent.php b/modules/consent/lib/Auth/Process/Consent.php index b3df73e8c..3f38e471f 100644 --- a/modules/consent/lib/Auth/Process/Consent.php +++ b/modules/consent/lib/Auth/Process/Consent.php @@ -235,7 +235,7 @@ class sspmod_consent_Auth_Process_Consent extends SimpleSAML_Auth_ProcessingFilt * Get a hash value that changes when attributes are added or attribute values changed. * @param boolean $includeValues Whether or not to include the attribute value in the generation of the hash. */ - public function getAttributeHash($attributes, $includeValues = FALSE) { + public static function getAttributeHash($attributes, $includeValues = FALSE) { $hashBase = NULL; if ($includeValues) { -- GitLab