]> source.dussan.org Git - nextcloud-server.git/commit
Deduplicate queued trashbin expire jobs
authorMorris Jobke <hey@morrisjobke.de>
Fri, 27 Nov 2015 13:01:03 +0000 (14:01 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Fri, 27 Nov 2015 13:40:31 +0000 (14:40 +0100)
commit7aa07bcf1c7c3a378229422b86165449f018a6bb
tree805e19921580a0074f08adb4528022f12f852854
parentd0059da7f395a4d86d896a4bfaf4e03f942f5fe1
Deduplicate queued trashbin expire jobs

* fixes #20425
* this removes the argument trashbin size from the expire job - it is now
  calculated in the expire job
* the queue now detects properly that the job is already queue and doesn't
  add it again
apps/files_trashbin/command/expire.php
apps/files_trashbin/lib/trashbin.php
apps/files_trashbin/tests/command/expiretest.php