Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
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 | $app->initialize(); |
||
21 | $PageLayout = $app['eccube.repository.page_layout']->findOneBy(array( |
||
22 | 'url' => 'contact', |
||
23 | 'name' => 'お問い合わせ(入力ページ)', |
||
24 | )); |
||
25 | if ($PageLayout) { |
||
26 | $PageLayout->setName('お問い合わせ(確認ページ)'); |
||
27 | $app['orm.em']->flush(); |
||
28 | } |
||
29 | } |
||
30 | |||
42 |