API Standardise extension hooks (#249)

This commit is contained in:
Guy Sartorelli 2024-08-27 15:39:16 +12:00 committed by GitHub
parent 71d129ae69
commit f2e98973b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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