Merge 2b3309468c
into ed0f42a509
This commit is contained in:
commit
7c823f95ef
|
@ -500,6 +500,10 @@ class BlogPost extends Page
|
|||
*/
|
||||
public function onBeforePublish()
|
||||
{
|
||||
if (method_exists(get_parent_class($this), 'onBeforePublish')) {
|
||||
parent::onBeforePublish();
|
||||
}
|
||||
|
||||
/**
|
||||
* @var DBDatetime $publishDate
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue