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. 5
      src/Plugin/QueueWorker/FixityCheckWorker.php

5
src/Plugin/QueueWorker/FixityCheckWorker.php

@ -60,14 +60,9 @@ 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());
}
}
}
}

Loading…
Cancel
Save