Skip to content

Commit

Permalink
Fix migration task class name usage
Browse files Browse the repository at this point in the history
  • Loading branch information
michalkleiner committed Mar 15, 2021
1 parent 34bae74 commit b0821b1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Models/BaseObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

namespace Chrometoaster\AdvancedTaxonomies\Models;

use Chrometoaster\AdvancedTaxonomies\Dev\AT4MigrationTask;
use Chrometoaster\AdvancedTaxonomies\Dev\AT4xMigrationTask;
use Chrometoaster\AdvancedTaxonomies\Generators\URLSegmentGenerator;
use SilverStripe\Core\Config\Config;
use SilverStripe\Forms\FieldList;
use SilverStripe\Forms\RequiredFields;
use SilverStripe\i18n\i18n;
Expand Down Expand Up @@ -296,6 +295,6 @@ public function requireDefaultRecords()
{
parent::requireDefaultRecords();

AT4MigrationTask::migrate();
AT4xMigrationTask::migrate();
}
}

0 comments on commit b0821b1

Please sign in to comment.