From ece5eca068ad323f43aa89b1e450e45569f2af9e Mon Sep 17 00:00:00 2001 From: Prabuddha Chakraborty Date: Fri, 19 Feb 2016 16:43:12 +0530 Subject: [PATCH] Fix php7 basic to wp basic --- ee/cli/plugins/site.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ee/cli/plugins/site.py b/ee/cli/plugins/site.py index 1f36e6ad..abe82e22 100644 --- a/ee/cli/plugins/site.py +++ b/ee/cli/plugins/site.py @@ -1005,11 +1005,11 @@ class EESiteUpdateController(CementBaseController): Log.info(self, Log.FAIL + "Can not update HTML site to HHVM") return 1 - if ((stype == 'php' and oldsitetype not in ['html', 'proxy']) or + if ((stype == 'php' and oldsitetype not in ['html', 'proxy', 'php7']) or (stype == 'mysql' and oldsitetype not in ['html', 'php', - 'proxy']) or + 'proxy','php7']) or (stype == 'wp' and oldsitetype not in ['html', 'php', 'mysql', - 'proxy', 'wp']) or + 'proxy', 'wp', 'php7']) or (stype == 'wpsubdir' and oldsitetype in ['wpsubdomain']) or (stype == 'wpsubdomain' and oldsitetype in ['wpsubdir']) or (stype == oldsitetype and cache == oldcachetype) and