summaryrefslogtreecommitdiffstats
path: root/examples/class/object.class.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2017-02-05 21:58:04 -0500
committerMalf Furious <m@lfurio.us>2017-02-05 21:58:04 -0500
commite0140672f1fb7c79e47aadad6fbee57e7262b1a2 (patch)
tree5e56748efe28e192cc18a494956885a9ca09d639 /examples/class/object.class.php
parentce38fd96e1105c70b55196ae3b6ab612442c8b2f (diff)
downloadscrott-e0140672f1fb7c79e47aadad6fbee57e7262b1a2.tar.gz
scrott-e0140672f1fb7c79e47aadad6fbee57e7262b1a2.zip
Purge old content
Diffstat (limited to '')
-rw-r--r--examples/class/object.class.php22
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)