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
This commit is contained in:
Sam Minnee 2008-10-07 04:45:01 +00:00
parent 09cbef9146
commit 686c983f3e

View File

@ -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);
}
}