summaryrefslogtreecommitdiffstats
path: root/examples/class/object.class.php
diff options
context:
space:
mode:
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)