Browse Source

Revert changes.

pull/15/head
Chris MacDonald 11 months ago committed by GitHub
parent
commit
fc548202bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 9
      src/Plugin/QueueWorker/FixityCheckWorker.php

9
src/Plugin/QueueWorker/FixityCheckWorker.php

@ -60,13 +60,8 @@ class FixityCheckWorker extends QueueWorkerBase implements ContainerFactoryPlugi
*/
public function processItem($data) {
if ($data instanceof FixityCheckInterface) {
if (empty($data->getFile())) {
$data->delete();
}
else {
/** @var \Drupal\dgi_fixity\FixityCheckInterface $data */
$this->fixity->check($data->getFile());
}
/** @var \Drupal\dgi_fixity\FixityCheckInterface $data */
$this->fixity->check($data->getFile());
}
}

Loading…
Cancel
Save