Page MenuHomePhorge

D25642.1737751032.diff
No OneTemporary

D25642.1737751032.diff

diff --git a/src/applications/celerity/controller/CelerityResourceController.php b/src/applications/celerity/controller/CelerityResourceController.php
--- a/src/applications/celerity/controller/CelerityResourceController.php
+++ b/src/applications/celerity/controller/CelerityResourceController.php
@@ -59,6 +59,7 @@
}
$cache = null;
+ $cache_key = null;
$data = null;
if ($is_cacheable && $is_locally_cacheable && !$dev_mode) {
$cache = PhabricatorCaches::getImmutableCache();
@@ -98,7 +99,7 @@
$data = $xformer->transformResource($path, $data);
}
- if ($cache) {
+ if ($cache && $cache_key !== null) {
$cache->setKey($cache_key, $data);
}
}

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 24, 20:37 (6 d, 11 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1118981
Default Alt Text
D25642.1737751032.diff (725 B)

Event Timeline