aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");
- }
+ //}
}
/**