dataset initial state is now unpublished

This commit is contained in:
Arno Kaimbacher 2019-02-15 13:26:01 +01:00
parent 535a9363cc
commit 2942ca376e

View File

@ -277,7 +277,7 @@ class IndexController extends Controller
$input = $request->except('files', 'licenses', 'abstract_main', 'title_main', 'references', 'titles'); $input = $request->except('files', 'licenses', 'abstract_main', 'title_main', 'references', 'titles');
// array_push($input, "Himbeere"); // array_push($input, "Himbeere");
// $input += ['server_state' => 'created' ]; // $input += ['server_state' => 'created' ];
$input['server_state'] = 'created'; $input['server_state'] = 'unpublished';
$dataset = new Dataset($input); $dataset = new Dataset($input);
DB::beginTransaction(); //Start transaction! DB::beginTransaction(); //Start transaction!