Skip to content

Commit

Permalink
- remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed May 15, 2019
1 parent ca6c85b commit ea42e64
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/App/ApplicationManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,9 @@ def manage_minimize(self, value=1, REQUEST=None):
REQUEST.RESPONSE.redirect(url)

@requestmethod('POST')
def manage_pack(self, days=0, REQUEST=None, _when=None):
def manage_pack(self, days=0, REQUEST=None):
"""Pack the database"""
if _when is None:
_when = time.time()
t = _when - (days * 86400)
t = time.time() - (days * 86400)

self._getDB().pack(t)

Expand Down

0 comments on commit ea42e64

Please sign in to comment.