From b76144b23d18dcd3ea0424f74a1acb6b9904435b Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Fri, 24 Nov 2023 17:45:18 +0100 Subject: [PATCH] Remove unused reference references --- db/migrations/2020_09_02_000000_create_rooms_table.php | 1 - .../2020_09_27_000000_add_timestamps_to_questions.php | 2 -- .../2020_12_25_000000_add_email_news_to_users_settings.php | 2 -- db/migrations/2020_12_25_000000_oauth_add_tokens.php | 2 -- db/migrations/2020_12_26_000000_news_add_is_pinned.php | 2 -- .../2020_12_28_000001_oauth_change_tokens_to_text.php | 2 -- db/migrations/2021_05_23_000000_create_first_user.php | 2 -- db/migrations/2021_05_23_000000_set_admin_password.php | 2 -- db/migrations/2021_10_12_000000_add_shifts_description.php | 2 -- .../2021_12_29_000000_users_settings_add_email_goody.php | 2 -- ..._10_23_000001_fill_privileges_and_groups_related_tables.php | 3 --- .../2023_02_26_000000_add_email_messages_to_users_settings.php | 2 -- ...023_08_07_000000_add_ifsg_cerificates_to_users_licenses.php | 2 -- ...08_08_000000_add_requires_ifsg_cerificate_to_angeltypes.php | 2 -- ...0_angeltypes_rename_no_self_signup_to_shift_self_signup.php | 2 -- .../2023_08_27_000000_add_hide_on_shift_view_to_angeltypes.php | 2 -- .../2023_11_16_000000_add_user_info_to_users_state.php | 2 -- 17 files changed, 34 deletions(-) diff --git a/db/migrations/2020_09_02_000000_create_rooms_table.php b/db/migrations/2020_09_02_000000_create_rooms_table.php index c527d096..81b91f38 100644 --- a/db/migrations/2020_09_02_000000_create_rooms_table.php +++ b/db/migrations/2020_09_02_000000_create_rooms_table.php @@ -11,7 +11,6 @@ use stdClass; class CreateRoomsTable extends Migration { use ChangesReferences; - use Reference; /** * Run the migration diff --git a/db/migrations/2020_09_27_000000_add_timestamps_to_questions.php b/db/migrations/2020_09_27_000000_add_timestamps_to_questions.php index c2a0abc1..272c0c95 100644 --- a/db/migrations/2020_09_27_000000_add_timestamps_to_questions.php +++ b/db/migrations/2020_09_27_000000_add_timestamps_to_questions.php @@ -10,8 +10,6 @@ use Illuminate\Database\Schema\Blueprint; class AddTimestampsToQuestions extends Migration { - use ChangesReferences; - /** * Run the migration */ diff --git a/db/migrations/2020_12_25_000000_add_email_news_to_users_settings.php b/db/migrations/2020_12_25_000000_add_email_news_to_users_settings.php index d7e17b83..c32c32b1 100644 --- a/db/migrations/2020_12_25_000000_add_email_news_to_users_settings.php +++ b/db/migrations/2020_12_25_000000_add_email_news_to_users_settings.php @@ -9,8 +9,6 @@ use Illuminate\Database\Schema\Blueprint; class AddEmailNewsToUsersSettings extends Migration { - use Reference; - /** * Run the migration */ diff --git a/db/migrations/2020_12_25_000000_oauth_add_tokens.php b/db/migrations/2020_12_25_000000_oauth_add_tokens.php index 1c02d8cd..e8a0cba1 100644 --- a/db/migrations/2020_12_25_000000_oauth_add_tokens.php +++ b/db/migrations/2020_12_25_000000_oauth_add_tokens.php @@ -9,8 +9,6 @@ use Illuminate\Database\Schema\Blueprint; class OauthAddTokens extends Migration { - use Reference; - /** * Run the migration */ diff --git a/db/migrations/2020_12_26_000000_news_add_is_pinned.php b/db/migrations/2020_12_26_000000_news_add_is_pinned.php index e60e5a5e..68d6e983 100644 --- a/db/migrations/2020_12_26_000000_news_add_is_pinned.php +++ b/db/migrations/2020_12_26_000000_news_add_is_pinned.php @@ -9,8 +9,6 @@ use Illuminate\Database\Schema\Blueprint; class NewsAddIsPinned extends Migration { - use Reference; - /** * Run the migration */ diff --git a/db/migrations/2020_12_28_000001_oauth_change_tokens_to_text.php b/db/migrations/2020_12_28_000001_oauth_change_tokens_to_text.php index 685322c8..1db6eb40 100644 --- a/db/migrations/2020_12_28_000001_oauth_change_tokens_to_text.php +++ b/db/migrations/2020_12_28_000001_oauth_change_tokens_to_text.php @@ -9,8 +9,6 @@ use Illuminate\Database\Schema\Blueprint; class OauthChangeTokensToText extends Migration { - use Reference; - /** * Run the migration */ diff --git a/db/migrations/2021_05_23_000000_create_first_user.php b/db/migrations/2021_05_23_000000_create_first_user.php index ed8b6185..d01473a1 100644 --- a/db/migrations/2021_05_23_000000_create_first_user.php +++ b/db/migrations/2021_05_23_000000_create_first_user.php @@ -12,8 +12,6 @@ use stdClass; class CreateFirstUser extends Migration { - use Reference; - public function __construct(SchemaBuilder $schemaBuilder, protected Config $config) { parent::__construct($schemaBuilder); diff --git a/db/migrations/2021_05_23_000000_set_admin_password.php b/db/migrations/2021_05_23_000000_set_admin_password.php index 8306efa5..7bbd421f 100644 --- a/db/migrations/2021_05_23_000000_set_admin_password.php +++ b/db/migrations/2021_05_23_000000_set_admin_password.php @@ -11,8 +11,6 @@ use stdClass; class SetAdminPassword extends Migration { - use Reference; - public function __construct(SchemaBuilder $schemaBuilder, protected Config $config) { parent::__construct($schemaBuilder); diff --git a/db/migrations/2021_10_12_000000_add_shifts_description.php b/db/migrations/2021_10_12_000000_add_shifts_description.php index 47ad04dd..b2de144e 100644 --- a/db/migrations/2021_10_12_000000_add_shifts_description.php +++ b/db/migrations/2021_10_12_000000_add_shifts_description.php @@ -9,8 +9,6 @@ use Illuminate\Database\Schema\Blueprint; class AddShiftsDescription extends Migration { - use Reference; - /** * Run the migration */ diff --git a/db/migrations/2021_12_29_000000_users_settings_add_email_goody.php b/db/migrations/2021_12_29_000000_users_settings_add_email_goody.php index 643bab03..bfff55fa 100644 --- a/db/migrations/2021_12_29_000000_users_settings_add_email_goody.php +++ b/db/migrations/2021_12_29_000000_users_settings_add_email_goody.php @@ -9,8 +9,6 @@ use Illuminate\Database\Schema\Blueprint; class UsersSettingsAddEmailGoody extends Migration { - use Reference; - /** * Run the migration */ diff --git a/db/migrations/2022_10_23_000001_fill_privileges_and_groups_related_tables.php b/db/migrations/2022_10_23_000001_fill_privileges_and_groups_related_tables.php index d6c02094..0453da92 100644 --- a/db/migrations/2022_10_23_000001_fill_privileges_and_groups_related_tables.php +++ b/db/migrations/2022_10_23_000001_fill_privileges_and_groups_related_tables.php @@ -9,9 +9,6 @@ use stdClass; class FillPrivilegesAndGroupsRelatedTables extends Migration { - use ChangesReferences; - use Reference; - /** * Inserts missing data into permissions & groups related tables */ diff --git a/db/migrations/2023_02_26_000000_add_email_messages_to_users_settings.php b/db/migrations/2023_02_26_000000_add_email_messages_to_users_settings.php index 12a7450b..52f72def 100644 --- a/db/migrations/2023_02_26_000000_add_email_messages_to_users_settings.php +++ b/db/migrations/2023_02_26_000000_add_email_messages_to_users_settings.php @@ -9,8 +9,6 @@ use Illuminate\Database\Schema\Blueprint; class AddEmailMessagesToUsersSettings extends Migration { - use Reference; - /** * Run the migration */ diff --git a/db/migrations/2023_08_07_000000_add_ifsg_cerificates_to_users_licenses.php b/db/migrations/2023_08_07_000000_add_ifsg_cerificates_to_users_licenses.php index f3642ef3..461404d7 100644 --- a/db/migrations/2023_08_07_000000_add_ifsg_cerificates_to_users_licenses.php +++ b/db/migrations/2023_08_07_000000_add_ifsg_cerificates_to_users_licenses.php @@ -9,8 +9,6 @@ use Illuminate\Database\Schema\Blueprint; class AddIfsgCerificatesToUsersLicenses extends Migration { - use Reference; - /** * Run the migration */ diff --git a/db/migrations/2023_08_08_000000_add_requires_ifsg_cerificate_to_angeltypes.php b/db/migrations/2023_08_08_000000_add_requires_ifsg_cerificate_to_angeltypes.php index 840c0979..3e09ad39 100644 --- a/db/migrations/2023_08_08_000000_add_requires_ifsg_cerificate_to_angeltypes.php +++ b/db/migrations/2023_08_08_000000_add_requires_ifsg_cerificate_to_angeltypes.php @@ -9,8 +9,6 @@ use Illuminate\Database\Schema\Blueprint; class AddRequiresIfsgCerificateToAngeltypes extends Migration { - use Reference; - /** * Run the migration */ diff --git a/db/migrations/2023_08_26_000000_angeltypes_rename_no_self_signup_to_shift_self_signup.php b/db/migrations/2023_08_26_000000_angeltypes_rename_no_self_signup_to_shift_self_signup.php index 8b9edba3..c4078ec2 100644 --- a/db/migrations/2023_08_26_000000_angeltypes_rename_no_self_signup_to_shift_self_signup.php +++ b/db/migrations/2023_08_26_000000_angeltypes_rename_no_self_signup_to_shift_self_signup.php @@ -9,8 +9,6 @@ use Illuminate\Database\Schema\Blueprint; class AngeltypesRenameNoSelfSignupToShiftSelfSignup extends Migration { - use Reference; - /** * Run the migration */ diff --git a/db/migrations/2023_08_27_000000_add_hide_on_shift_view_to_angeltypes.php b/db/migrations/2023_08_27_000000_add_hide_on_shift_view_to_angeltypes.php index 459b022e..3fe8a175 100644 --- a/db/migrations/2023_08_27_000000_add_hide_on_shift_view_to_angeltypes.php +++ b/db/migrations/2023_08_27_000000_add_hide_on_shift_view_to_angeltypes.php @@ -9,8 +9,6 @@ use Illuminate\Database\Schema\Blueprint; class AddHideOnShiftViewToAngeltypes extends Migration { - use Reference; - /** * Run the migration */ diff --git a/db/migrations/2023_11_16_000000_add_user_info_to_users_state.php b/db/migrations/2023_11_16_000000_add_user_info_to_users_state.php index f774d867..53484a46 100644 --- a/db/migrations/2023_11_16_000000_add_user_info_to_users_state.php +++ b/db/migrations/2023_11_16_000000_add_user_info_to_users_state.php @@ -9,8 +9,6 @@ use Illuminate\Database\Schema\Blueprint; class AddUserInfoToUsersState extends Migration { - use Reference; - /** * Run the migration */