diff --git a/application/src/Job/BatchDelete.php b/application/src/Job/BatchDelete.php index fbd76485a..eafc40e6b 100644 --- a/application/src/Job/BatchDelete.php +++ b/application/src/Job/BatchDelete.php @@ -6,6 +6,7 @@ class BatchDelete extends AbstractJob public function perform() { $api = $this->getServiceLocator()->get('Omeka\ApiManager'); + $settings = $this->getServiceLocator()->get('Omeka\Settings'); $resource = $this->getArg('resource'); $query = $this->getArg('query', []); $response = $api->search($resource, $query, ['returnScalar' => 'id']);