fix indentation
This commit is contained in:
@@ -132,7 +132,6 @@ class WOSiteController(CementBaseController):
|
||||
wo_db_user = ''
|
||||
wo_db_pass = ''
|
||||
|
||||
|
||||
if not check_domain_exists(self, wo_domain):
|
||||
Log.error(self, "site {0} does not exist".format(wo_domain))
|
||||
if os.path.isfile('/etc/nginx/sites-available/{0}'
|
||||
@@ -446,7 +445,6 @@ class WOSiteCreateController(CementBaseController):
|
||||
else:
|
||||
pass
|
||||
|
||||
|
||||
if data and self.app.pargs.php73:
|
||||
if (self.app.pargs.experimental):
|
||||
Log.info(
|
||||
@@ -1159,8 +1157,7 @@ class WOSiteUpdateController(CementBaseController):
|
||||
data['basic'] = True
|
||||
cache = 'basic'
|
||||
|
||||
if (php73 is old_php73) and
|
||||
(stype == oldsitetype and cache == oldcachetype)):
|
||||
if (php73 is old_php73) and (stype == oldsitetype and cache == oldcachetype):
|
||||
return 1
|
||||
|
||||
if not data:
|
||||
|
||||
@@ -153,7 +153,6 @@ def setupdatabase(self, data):
|
||||
wo_db_username = ''
|
||||
wo_db_password = ''
|
||||
|
||||
|
||||
if prompt_dbname == 'True' or prompt_dbname == 'true':
|
||||
try:
|
||||
wo_db_name = input('Enter the MySQL database name [{0}]: '
|
||||
|
||||
Reference in New Issue
Block a user