Skip to content

Node.js based forum software built for the modern web

remove post cache dump

barisusaklifcbdfa56885b
diff --git a/src/controllers/admin/cache.js b/src/controllers/admin/cache.js
index c0e1c06b65..116c928020 100644
--- a/src/controllers/admin/cache.js
+++ b/src/controllers/admin/cache.js
@@ -19,8 +19,7 @@ cacheController.get = function(req, res, next) {
max: postCache.max,
itemCount: postCache.itemCount,
percentFull: percentFull,
- avgPostSize: avgPostSize,
- dump: req.query.debug ? JSON.stringify(postCache.dump(), null, 4) : false
+ avgPostSize: avgPostSize
},
groupCache: {
length: groupCache.length,
diff --git a/src/views/admin/advanced/cache.tpl b/src/views/admin/advanced/cache.tpl
index 1c7b8ab589..4c8857483d 100644
--- a/src/views/admin/advanced/cache.tpl
+++ b/src/views/admin/advanced/cache.tpl
@@ -19,11 +19,6 @@
{postCache.percentFull}% Full
</div>
</div>
-
- <!-- IF postCache.dump -->
- <pre>{postCache.dump}</pre>
- <!-- ENDIF postCache.dump -->
-
</div>
</div>