Skip to content

Commit

Permalink
Merge pull request pkp#1195 from bozana/master
Browse files Browse the repository at this point in the history
pkp/pkp-lib#2195 set double-blind when review method is missing
  • Loading branch information
bozana authored Jan 16, 2017
2 parents 8f657f7 + d79a3aa commit b2ac1a1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dbscripts/xml/upgrade.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
<data file="dbscripts/xml/upgrade/3.0.0_postupgrade_metrics.xml" />
<data file="dbscripts/xml/upgrade/3.0.0_issue_settings.xml" />
<data file="dbscripts/xml/upgrade/3.0.0_submission_settings.xml" />
<data file="dbscripts/xml/upgrade/3.0.0_review_method.xml" />
</upgrade>

<upgrade minversion="3.0.0.0" maxversion="3.0.0.9">
Expand All @@ -115,6 +116,11 @@
<data file="dbscripts/xml/upgrade/3.0.0_issue_settings.xml" />
<data file="dbscripts/xml/upgrade/3.0.0_submission_settings.xml" />
<code function="installEmailTemplate" key="SUBMISSION_ACK_NOT_USER" locales="en_US,ca_ES,el_GR,es_ES,fr_CA,pt_BR" />
<data file="dbscripts/xml/upgrade/3.0.0_review_method.xml" />
</upgrade>

<upgrade minversion="3.0.1.0" maxversion="3.0.1.9">
<data file="dbscripts/xml/upgrade/3.0.0_review_method.xml" />
</upgrade>

<upgrade minversion="3.0.0.0" maxversion="3.0.9.9">
Expand Down
18 changes: 18 additions & 0 deletions dbscripts/xml/upgrade/3.0.0_review_method.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE data SYSTEM "../../../lib/pkp/dtd/xmlData.dtd">

<!--
* 3.0.0_review_method.xml
*
* Copyright (c) 2014-2016 Simon Fraser University Library
* Copyright (c) 2003-2016 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* 3.0.0.0 review_method update.
-->
<data>
<sql><!-- #2195 set review_method = 2 (SUBMISSION_REVIEW_METHOD_DOUBLEBLIND) where review_method = 0 i.e. for those migrated from OJS 2.4.x -->
<query>UPDATE review_assignments SET review_method = 2 WHERE review_method = 0</query>
</sql>
</data>

0 comments on commit b2ac1a1

Please sign in to comment.