diff --git a/websiteFunctions/StagingSetup.py b/websiteFunctions/StagingSetup.py index e6af71bf9..7fd2929ed 100644 --- a/websiteFunctions/StagingSetup.py +++ b/websiteFunctions/StagingSetup.py @@ -264,7 +264,6 @@ define('WP_SITEURL','http://%s'); os.remove(databasePath) except: pass - if eraseCheck: sourcePath = child.path destinationPath = '/home/%s/public_html' % (child.master.domain) @@ -288,8 +287,6 @@ define('WP_SITEURL','http://%s'); logging.statusWriter(tempStatusPath, 'Data copied..,[200]') - logging.statusWriter(tempStatusPath, 'Data copied..,[200]') - return 0 except BaseException as msg: mesg = '%s. [404]' % (str(msg))