Merge pull request #254 from assertchris/fix-migration-error

Fixed migration error
This commit is contained in:
Damian Mooyman 2015-05-25 15:57:21 +12:00
commit 8fa9d22d3b

View File

@ -52,8 +52,9 @@ class BlogEntry extends BlogPost implements MigratableObject {
if($this->ClassName === 'BlogEntry') { if($this->ClassName === 'BlogEntry') {
$this->ClassName = 'BlogPost'; $this->ClassName = 'BlogPost';
$this->write();
} }
$this->write();
} }
/** /**