diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-17 18:29:21 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-17 18:29:21 +0000 |
commit | b3959409dfc0c1d7310a2d7972ef832233f864e5 (patch) | |
tree | f6774b3a61343a4efb354006f41e97a42003a3a2 /engine | |
parent | 4b85d98cde6b6854cd9f7adc48be37412b51bfcd (diff) | |
download | elgg-b3959409dfc0c1d7310a2d7972ef832233f864e5.tar.gz elgg-b3959409dfc0c1d7310a2d7972ef832233f864e5.tar.bz2 |
Marcus Povey <marcus@dushka.co.uk>
* getOwner now consistent with class hierachy
git-svn-id: https://code.elgg.org/elgg/trunk@240 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/objects.php | 11 | ||||
-rw-r--r-- | engine/lib/users.php | 11 |
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
*
|