diff options
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r-- | engine/lib/users.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php index 7d1fa3d58..29a2dd42f 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -372,26 +372,8 @@ class ElggUser extends ElggEntity function get_user_entity_as_row($guid) { global $CONFIG; - /*$row = retrieve_cached_entity_row($guid); - if ($row) - { - // We have already cached this object, so retrieve its value from the cache - if (isset($CONFIG->debug) && $CONFIG->debug == true) - error_log("** Retrieving sub part of GUID:$guid from cache"); - - return $row; - } - else - {*/ - // Object not cached, load it. - if (isset($CONFIG->debug) && $CONFIG->debug == true) { - error_log("** Sub part of GUID:$guid loaded from DB"); - } - $guid = (int)$guid; - return get_data_row("SELECT * from {$CONFIG->dbprefix}users_entity where guid=$guid"); - //} } /** |