aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-09 13:17:24 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-09 13:17:24 +0000
commit8d4e29a5c8b8caf7b18916a46d1aeed98cdff208 (patch)
tree2a4144a9fce5d2c93041f81e510f271628f1f819 /engine/lib
parentc522f28c7cf6c37ddd6b2b2a4bcc3093784f7577 (diff)
downloadelgg-8d4e29a5c8b8caf7b18916a46d1aeed98cdff208.tar.gz
elgg-8d4e29a5c8b8caf7b18916a46d1aeed98cdff208.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Reverted caching error git-svn-id: https://code.elgg.org/elgg/trunk@832 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/sites.php6
-rw-r--r--engine/lib/users.php6
2 files changed, 6 insertions, 6 deletions
diff --git a/engine/lib/sites.php b/engine/lib/sites.php
index 89a95812e..cceffcda2 100644
--- a/engine/lib/sites.php
+++ b/engine/lib/sites.php
@@ -225,7 +225,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
@@ -235,13 +235,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}sites_entity where guid=$guid");
- }
+ //}
}
/**
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 795ec4415..2466170fa 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -315,7 +315,7 @@
{
global $CONFIG;
- $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
@@ -325,7 +325,7 @@
return $row;
}
else
- {
+ {*/
// Object not cached, load it.
if ($CONFIG->debug)
error_log("** Sub part of GUID:$guid loaded from DB");
@@ -333,7 +333,7 @@
$guid = (int)$guid;
return get_data_row("SELECT * from {$CONFIG->dbprefix}users_entity where guid=$guid");
- }
+ //}
}
/**