Completed
Push — main ( 075628...44a6d7 )
by
unknown
35s queued 28s
created

getContextSettingsTable()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 1
b 0
f 0
1
<?php
2
3
/**
4
 * @file classes/migration/upgrade/v3_5_0/I9425_SeparateUIAndSubmissionLocales.php
5
 *
6
 * Copyright (c) 2024 Simon Fraser University
7
 * Copyright (c) 2024 John Willinsky
8
 * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
9
 *
10
 * @class I9425_SeparateUIAndSubmissionLocales
11
 *
12
 * @brief pkp/pkp-lib#9425 Make submission language selection and metadata forms independent from website language settings
13
 */
14
15
namespace APP\migration\upgrade\v3_5_0;
16
17
class I9425_SeparateUIAndSubmissionLocales extends \PKP\migration\upgrade\v3_5_0\I9425_SeparateUIAndSubmissionLocales
18
{
19
    protected function getContextTable(): string
20
    {
21
        return 'presses';
22
    }
23
    protected function getContextSettingsTable(): string
24
    {
25
        return 'press_settings';
26
    }
27
    protected function getContextIdColumn(): string
28
    {
29
        return 'press_id';
30
    }
31
}
32