Skip to content

Commit

Permalink
upgrade script to rename editorialTeam into editorialHistory and to r…
Browse files Browse the repository at this point in the history
…emove Editorial Team manu nav item
  • Loading branch information
bozana committed May 7, 2024
1 parent a6c6439 commit 727c8de
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php

/**
* @file classes/migration/upgrade/v3_5_0/I9937_EditorialTeamToEditorialHistory.php
*
* Copyright (c) 2024 Simon Fraser University
* Copyright (c) 2024 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @class I9937_EditorialTeamToEditorialHistory
*
* @brief Migrate/rename editorialTeam to editorialHistory context setting and remove Editorial Team navigation menu item.
*/

namespace APP\migration\upgrade\v3_5_0;

class I9937_EditorialTeamToEditorialHistory extends \PKP\migration\upgrade\v3_5_0\I9937_EditorialTeamToEditorialHistory
{
protected function getContextSettingsTable(): string
{
return 'journal_settings';
}

}
1 change: 1 addition & 0 deletions dbscripts/xml/upgrade.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
<migration class="PKP\migration\upgrade\v3_5_0\I9566_SessionUpgrade"/>
<migration class="PKP\migration\upgrade\v3_5_0\I9809_ReviewCancelDate"/>
<migration class="PKP\migration\upgrade\v3_5_0\I9860_EditorialMastheadNavMenuItem"/>
<migration class="APP\migration\upgrade\v3_5_0\I9937_EditorialTeamToEditorialHistory"/>
</upgrade>

<!-- update plugin configuration - should be done as the final upgrade task -->
Expand Down

0 comments on commit 727c8de

Please sign in to comment.