|
@ -29,9 +29,9 @@ class EECleanController(CementBaseController): |
|
|
(['--memcache'], |
|
|
(['--memcache'], |
|
|
dict(help='Clean MemCache', action='store_true')), |
|
|
dict(help='Clean MemCache', action='store_true')), |
|
|
(['--opcache'], |
|
|
(['--opcache'], |
|
|
dict(help='Clean OpCache', action='store_true')) |
|
|
dict(help='Clean OpCache', action='store_true')), |
|
|
(['--pagespeed'], |
|
|
(['--pagespeed'], |
|
|
dict(help='Clean Pagespeed Cache', action='store_true')) |
|
|
dict(help='Clean Pagespeed Cache', action='store_true')), |
|
|
] |
|
|
] |
|
|
usage = "ee clean [options]" |
|
|
usage = "ee clean [options]" |
|
|
|
|
|
|
|
@ -44,6 +44,7 @@ class EECleanController(CementBaseController): |
|
|
self.clean_memcache() |
|
|
self.clean_memcache() |
|
|
self.clean_fastcgi() |
|
|
self.clean_fastcgi() |
|
|
self.clean_opcache() |
|
|
self.clean_opcache() |
|
|
|
|
|
self.clean_pagespeed() |
|
|
if self.app.pargs.fastcgi: |
|
|
if self.app.pargs.fastcgi: |
|
|
self.clean_fastcgi() |
|
|
self.clean_fastcgi() |
|
|
if self.app.pargs.memcache: |
|
|
if self.app.pargs.memcache: |
|
|