aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-16 22:53:22 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-16 22:53:22 +0000
commita61b62e592380fa3be7e4ff812f3e514afabd321 (patch)
tree225b02b83766778bfbadb0db37b715a79d9c05b2 /engine/lib/users.php
parent694781d190fba09437a37983f077d0381a56050b (diff)
downloadelgg-a61b62e592380fa3be7e4ff812f3e514afabd321.tar.gz
elgg-a61b62e592380fa3be7e4ff812f3e514afabd321.tar.bz2
Rewriting core debug messages to be more informative.
Introducing the concept of levels for Elgg debugging: notices, warnings and errors are displayed when the appropriate debugging level is enabled. An additional level of "debug" exists to differentiate from errors. git-svn-id: http://code.elgg.org/elgg/trunk@3560 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r--engine/lib/users.php18
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");
- //}
}
/**