Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
16 | public function up(Schema $schema) |
||
17 | { |
||
18 | // this up() migration is auto-generated, please modify it to your needs |
||
19 | $app = \Eccube\Application::getInstance(); |
||
20 | $PageLayout = $app['eccube.repository.page_layout']->findOneBy( |
||
21 | array( |
||
22 | 'url' => 'contact', |
||
23 | 'name' => 'お問い合わせ(入力ページ)', |
||
24 | ) |
||
25 | ); |
||
26 | if ($PageLayout) { |
||
27 | $PageLayout->setName('お問い合わせ(確認ページ)'); |
||
28 | $app['orm.em']->flush($PageLayout); |
||
29 | } |
||
30 | } |
||
31 | |||
43 |