From 8cf585d2e36711d909fa9a49e0bc531aaedb7fc4 Mon Sep 17 00:00:00 2001 From: Touhidur Rahman Date: Sun, 18 Feb 2024 13:03:29 +0600 Subject: [PATCH] pkp/pkp-lib#5885 removed unnecessary select from migration --- .../upgrade/v3_5_0/I5885_RenameReviewReminderSettingsName.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/classes/migration/upgrade/v3_5_0/I5885_RenameReviewReminderSettingsName.php b/classes/migration/upgrade/v3_5_0/I5885_RenameReviewReminderSettingsName.php index 8cf288225f1..9819ec1f977 100644 --- a/classes/migration/upgrade/v3_5_0/I5885_RenameReviewReminderSettingsName.php +++ b/classes/migration/upgrade/v3_5_0/I5885_RenameReviewReminderSettingsName.php @@ -45,14 +45,12 @@ public function up(): void public function down(): void { DB::table($this->getContextSettingsTable()) - ->select(['setting_name']) ->where('setting_name', 'numDaysAfterReviewResponseReminderDue') ->update([ 'setting_name' => 'numDaysBeforeInviteReminder' ]); DB::table($this->getContextSettingsTable()) - ->select(['setting_name']) ->where('setting_name', 'numDaysAfterReviewSubmitReminderDue') ->update([ 'setting_name' => 'numDaysBeforeSubmitReminder'