mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Fixed migration error
This commit is contained in:
parent
29ca70794a
commit
bde73eda62
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user