mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
commit
95963b19b8
@ -196,6 +196,5 @@ whenever a blog entry has been published.
|
||||
// ...
|
||||
public function onAfterPublish() {
|
||||
mail("sam@silverstripe.com", "Blog published", "The blog has been published");
|
||||
parent::onAfterPublish();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user