From fcbdfa56885b98f0af31f08e7564d637592b1ee6 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 14 Sep 2016 21:34:36 +0300 Subject: [PATCH] remove post cache dump --- src/controllers/admin/cache.js | 3 +-- src/views/admin/advanced/cache.tpl | 5 ----- 2 files changed, 1 insertion(+), 7 deletions(-) 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 - - -
{postCache.dump}
- -