diff options
author | Malf Furious <m@lfurio.us> | 2017-02-05 21:58:04 -0500 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2017-02-05 21:58:04 -0500 |
commit | e0140672f1fb7c79e47aadad6fbee57e7262b1a2 (patch) | |
tree | 5e56748efe28e192cc18a494956885a9ca09d639 /examples/class/object.class.php | |
parent | ce38fd96e1105c70b55196ae3b6ab612442c8b2f (diff) | |
download | scrott-e0140672f1fb7c79e47aadad6fbee57e7262b1a2.tar.gz scrott-e0140672f1fb7c79e47aadad6fbee57e7262b1a2.zip |
Purge old content
Diffstat (limited to '')
-rw-r--r-- | examples/class/object.class.php | 22 |
1 files changed, 0 insertions, 22 deletions
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 @@ -3,28 +3,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 */ function canAccess($user) |