artisan cron job for automatically rejecting

approved datasets
This commit is contained in:
Arno Kaimbacher 2019-05-29 14:04:46 +02:00
parent 03bcbab560
commit 390f6bbef8
6 changed files with 193 additions and 100 deletions

View file

@ -301,7 +301,7 @@ class EditorController extends Controller
$input = $request->all();
$input['server_state'] = 'approved';
if ($dataset->reject_reviewer_note != null) {
$input['[reject_reviewer_note'] = null;
$input['reject_reviewer_note'] = null;
}
if ($dataset->update($input)) {