mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
API Standardise extension hooks (#249)
This commit is contained in:
parent
71d129ae69
commit
f2e98973b8
@ -687,7 +687,7 @@ class SiteTreeContentReview extends DataExtension implements PermissionProvider
|
|||||||
* If the queued jobs module is installed, queue up the first job for 9am tomorrow morning
|
* If the queued jobs module is installed, queue up the first job for 9am tomorrow morning
|
||||||
* (by default).
|
* (by default).
|
||||||
*/
|
*/
|
||||||
public function requireDefaultRecords()
|
protected function onRequireDefaultRecords()
|
||||||
{
|
{
|
||||||
if (class_exists(ContentReviewNotificationJob::class)) {
|
if (class_exists(ContentReviewNotificationJob::class)) {
|
||||||
// Ensure there is not already a job queued
|
// Ensure there is not already a job queued
|
||||||
|
Loading…
Reference in New Issue
Block a user