Browse Source

Fixed logic for HHVM and Pagespeed update checks

bugfixes
gau1991 10 years ago
parent
commit
dee268edb8
  1. 2
      ee/cli/plugins/site.py

2
ee/cli/plugins/site.py

@ -680,6 +680,7 @@ class EESiteUpdateController(CementBaseController):
data['pagespeed'] = False data['pagespeed'] = False
pagespeed = 0 pagespeed = 0
if self.app.pargs.pagespeed:
if pagespeed == old_pagespeed: if pagespeed == old_pagespeed:
if pagespeed == 0: if pagespeed == 0:
Log.error(self, "Pagespeed is allready disabled for given " Log.error(self, "Pagespeed is allready disabled for given "
@ -688,6 +689,7 @@ class EESiteUpdateController(CementBaseController):
Log.error(self, "Pagespeed is allready enabled for given " Log.error(self, "Pagespeed is allready enabled for given "
"site") "site")
if self.app.pargs.hhvm:
if hhvm == old_hhvm: if hhvm == old_hhvm:
if hhvm == 0: if hhvm == 0:
Log.error(self, "HHVM is allready disabled for given " Log.error(self, "HHVM is allready disabled for given "

Loading…
Cancel
Save