aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/objects.php11
-rw-r--r--engine/lib/users.php11
2 files changed, 2 insertions, 20 deletions
diff --git a/engine/lib/objects.php b/engine/lib/objects.php
index 82b8aa596..0a8dffc65 100644
--- a/engine/lib/objects.php
+++ b/engine/lib/objects.php
@@ -129,16 +129,7 @@
return delete_object_entity($guid);
}
-
- /**
- * Get the object's owner
- *
- * @return ElggUser The owner user
- */
- function getOwner() {
- return new ElggUser($this->owner_guid);
- }
-
+
/**
* Get sites that this object is a member of
*
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 205c7c66c..98de0775d 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -141,16 +141,7 @@
return delete_user_entity($guid);
}
-
- /**
- * Get the user's owner, if any
- *
- * @return ElggUser The owner user
- */
- function getOwner() {
- return new ElggUser($this->owner_guid);
- }
-
+
/**
* Get sites that this user is a member of
*