From bb04c9c62d2f55e7cef382955893fba934265618 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 3 Mar 2009 12:29:43 +0000 Subject: Removed calls to the deprecated entity cache git-svn-id: https://code.elgg.org/elgg/trunk@3028 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine/lib/entities.php') diff --git a/engine/lib/entities.php b/engine/lib/entities.php index e9747d15c..d1402c397 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -1393,7 +1393,7 @@ $guid = (int) $guid; - $row = retrieve_cached_entity_row($guid); + /*$row = retrieve_cached_entity_row($guid); if ($row) { // We have already cached this object, so retrieve its value from the cache @@ -1403,7 +1403,7 @@ return $row; } else - { + {*/ // Object not cached, load it. if (isset($CONFIG->debug) && $CONFIG->debug == true) error_log("** GUID:$guid loaded from DB"); @@ -1411,7 +1411,7 @@ $access = get_access_sql_suffix(); return get_data_row("SELECT * from {$CONFIG->dbprefix}entities where guid=$guid and $access"); - } + //} } /** -- cgit v1.2.3