From 15dddfa08e8736e30dcc5893381ef53afb13ac4a Mon Sep 17 00:00:00 2001 From: gau1991 Date: Mon, 23 Mar 2015 15:04:57 +0530 Subject: [PATCH] Added cache block in data --- ee/cli/plugins/site.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/ee/cli/plugins/site.py b/ee/cli/plugins/site.py index b340f6d0..8055531d 100644 --- a/ee/cli/plugins/site.py +++ b/ee/cli/plugins/site.py @@ -942,6 +942,23 @@ class EESiteUpdateController(CementBaseController): data['multisite'] = True data['wpsubdir'] = False + if cache == 'basic': + data['w3tc'] = False + data['wpfc'] = False + data['wpsc'] = False + elif cache == 'w3tc': + data['w3tc'] = True + data['wpfc'] = False + data['wpsc'] = False + elif cache == 'wpfc': + data['w3tc'] = False + data['wpfc'] = True + data['wpsc'] = False + elif cache == 'wpsc': + data['w3tc'] = False + data['wpfc'] = False + data['wpsc'] = True + if self.app.pargs.hhvm == 'on': data['hhvm'] = True else: