Skip to content

Commit

Permalink
Merge pull request #29 from neos/code-migration
Browse files Browse the repository at this point in the history
TASK: Migration for Settings and NodeTypes
  • Loading branch information
aertmann authored Jan 27, 2017
2 parents 12c34c8 + 2393091 commit 8b42826
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions Migrations/Code/Version20170127154600.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?php
namespace Neos\Seo\Core\Migrations;

/*
* This file is part of the Neos.Seo package.
*
* (c) Contributors of the Neos Project - www.neos.io
*
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was distributed with this
* source code.
*/

/**
* Migrate to new namespace
*/
class Version20170127154600 extends AbstractMigration
{
/**
* @return string
*/
public function getIdentifier()
{
return 'Neos.Seo-20170127154600';
}

/**
* @return void
*/
public function up()
{
$this->moveSettingsPaths('Neos.Neos.Seo', 'Neos.Seo');
$this->searchAndReplace('Neos.Neos.Seo:', 'Neos.Seo:');
$this->searchAndReplace('resource://TYPO3.Neos.Seo/', 'resource://Neos.Seo/');
}
}

0 comments on commit 8b42826

Please sign in to comment.