Commit 7c3493c4 authored by webchick's avatar webchick

#506458 by quicksketch: Replace missing global user so that page caching works again.

parent 47258bc3
...@@ -336,6 +336,8 @@ protected function garbageCollection() { ...@@ -336,6 +336,8 @@ protected function garbageCollection() {
* valid item to load. * valid item to load.
*/ */
protected function prepareItem($cache) { protected function prepareItem($cache) {
global $user;
if (!isset($cache->data)) { if (!isset($cache->data)) {
return FALSE; return FALSE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment