Merge "Memory setting for djvutext is now a constant"
[lhc/web/wiklou.git] / includes / UserMailer.php
index daf7435..8d1ed68 100644 (file)
@@ -498,7 +498,7 @@ class EmailNotification {
                                'pageStatus' => $pageStatus
                        );
                        $job = new EnotifNotifyJob( $title, $params );
-                       $job->insert();
+                       JobQueueGroup::singleton()->push( $job );
                } else {
                        $this->actuallyNotifyOnPageChange( $editor, $title, $timestamp, $summary, $minorEdit, $oldid, $watchers, $pageStatus );
                }