From e0140672f1fb7c79e47aadad6fbee57e7262b1a2 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sun, 5 Feb 2017 21:58:04 -0500 Subject: Purge old content --- examples/class/object.class.php | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'examples/class/object.class.php') diff --git a/examples/class/object.class.php b/examples/class/object.class.php index 3acea4f..4bafc5c 100644 --- a/examples/class/object.class.php +++ b/examples/class/object.class.php @@ -2,28 +2,6 @@ abstract class Object extends Framework { - /* - * Check if given user (or group) is the owner of this object - */ - function isOwner($ug) - { - return $this->getOwner()->guid == $ug->guid; - } - - /* - * Check if given user (or group) is a member of this object - */ - function isMember($ug) - { - foreach ($this->getMembers() as $member) - { - if ($member->guid == $ug->guid) - return true; - } - - return false; - } - /* * Check if given user has permissions for this object */ -- cgit v1.2.3