diff --git a/module/fid_bbi/config/module.config.php b/module/fid_bbi/config/module.config.php index 8efaad86dbbd4aba985b21dc56443ba0212692fd..f6bcdcb33a7b6d271019f532f6c8774eb11fcf9f 100644 --- a/module/fid_bbi/config/module.config.php +++ b/module/fid_bbi/config/module.config.php @@ -32,7 +32,6 @@ use fid\Controller\RecordControllerDelegatorFactory; $config = [ 'forms' => [ - 'user-init-form' => require 'user-init-form.php', 'user-create-form' => require 'user-create-form.php', 'user-update-form' => require 'user-update-form.php', 'fid-acquisition-form' => require 'fid-acquisition-form.php', diff --git a/module/fid_bbi/config/user-create-form.php b/module/fid_bbi/config/user-create-form.php index 0c4d2f4da5a8a052019502f0c55bff7b96b91a16..6e18a2e0496dab1a6e22b9c8bdbfe30e90069dd8 100644 --- a/module/fid_bbi/config/user-create-form.php +++ b/module/fid_bbi/config/user-create-form.php @@ -25,20 +25,6 @@ use fid_bbi\InputFilter\UserCreateFormInputFilter; return [ 'elements' => [ - 'firstname' => [ - 'spec' => [ - 'attributes' => [ - 'required' => false, - ], - ], - ], - 'lastname' => [ - 'spec' => [ - 'attributes' => [ - 'required' => false, - ], - ], - ], 'home_library' => [ 'spec' => [ 'attributes' => [ @@ -60,12 +46,6 @@ return [ ], 'input_filter' => [ 'type' => UserCreateFormInputFilter::class, - 'firstname' => [ - 'required' => false, - ], - 'lastname' => [ - 'required' => false, - ], 'home_library' => [ 'required' => false, ], diff --git a/module/fid_bbi/config/user-init-form.php b/module/fid_bbi/config/user-init-form.php deleted file mode 100644 index c524eec2d07ce7b590648b60f2c788e944aee56f..0000000000000000000000000000000000000000 --- a/module/fid_bbi/config/user-init-form.php +++ /dev/null @@ -1,49 +0,0 @@ -<?php -/** - * Copyright (C) 2020 Leipzig University Library - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - * - * @author Sebastian Kehr <kehr@ub.uni-leipzig.de> - * @author Gregor Gawol <gawol@ub.uni-leipzig.de> - * @author Alexander Purr <purr@ub.uni-leipzig.de> - * @license http://opensource.org/licenses/gpl-2.0.php GNU GPLv2 - */ - -return [ - 'elements' => [ - 'firstname' => [ - 'spec' => [ - 'attributes' => [ - 'required' => false, - ], - ], - ], - 'lastname' => [ - 'spec' => [ - 'attributes' => [ - 'required' => false, - ], - ], - ], - ], - 'input_filter' => [ - 'firstname' => [ - 'required' => false, - ], - 'lastname' => [ - 'required' => false, - ], - ], -]; \ No newline at end of file diff --git a/module/fid_bbi/config/user-update-form.php b/module/fid_bbi/config/user-update-form.php index e5bec01b57c97f58d7b92dcc1345aa8a2b7a26d2..4a8c5e83662d36e82ed66915286e9df431c60200 100644 --- a/module/fid_bbi/config/user-update-form.php +++ b/module/fid_bbi/config/user-update-form.php @@ -22,20 +22,6 @@ return [ 'elements' => [ - 'firstname' => [ - 'spec' => [ - 'attributes' => [ - 'required' => false, - ], - ], - ], - 'lastname' => [ - 'spec' => [ - 'attributes' => [ - 'required' => false, - ], - ], - ], 'home_library' => [ 'spec' => [ 'attributes' => [