aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/objects.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-03 12:29:43 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-03 12:29:43 +0000
commitbb04c9c62d2f55e7cef382955893fba934265618 (patch)
treed1c82ae5e46e040476b840ce71539d2453cc5804 /engine/lib/objects.php
parent603b7c6273af20696a1c3158792dd63b55e784b0 (diff)
downloadelgg-bb04c9c62d2f55e7cef382955893fba934265618.tar.gz
elgg-bb04c9c62d2f55e7cef382955893fba934265618.tar.bz2
Removed calls to the deprecated entity cache
git-svn-id: https://code.elgg.org/elgg/trunk@3028 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/objects.php')
-rw-r--r--engine/lib/objects.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/objects.php b/engine/lib/objects.php
index 599576e22..c049c51d2 100644
--- a/engine/lib/objects.php
+++ b/engine/lib/objects.php
@@ -228,7 +228,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
@@ -238,13 +238,13 @@
return $row;
}
else
- {
+ {*/
// Object not cached, load it.
if ($CONFIG->debug)
error_log("** Sub part of GUID:$guid loaded from DB");
return get_data_row("SELECT * from {$CONFIG->dbprefix}objects_entity where guid=$guid");
- }
+ //}
}
/**