From 686c983f3e14ebde19d39ff5bdfc9f97fe3faf52 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Tue, 7 Oct 2008 04:45:01 +0000 Subject: [PATCH] Updated Member::isInGroup() to function as well as being deprecated git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63745 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- security/Member.php | 1 + 1 file changed, 1 insertion(+) diff --git a/security/Member.php b/security/Member.php index 8da575658..c6a9fa316 100644 --- a/security/Member.php +++ b/security/Member.php @@ -1073,6 +1073,7 @@ class Member extends DataObject { */ public function isInGroup($groupID) { user_error('Member::isInGroup() is deprecated. Please use inGroup() instead.', E_USER_NOTICE); + return $this->inGroup($groupID); } }