]> BookStack Code Mirror - bookstack/blobdiff - app/Settings/MaintenanceController.php
fix Sidebar scrolling at mid-range sceen
[bookstack] / app / Settings / MaintenanceController.php
index 7bf4c973c50116a9f70353bf9fe9dd6b90320d3f..60e5fee283ffee34f9e968c2cd6cf15b9552e425 100644 (file)
@@ -4,8 +4,7 @@ namespace BookStack\Settings;
 
 use BookStack\Activity\ActivityType;
 use BookStack\Entities\Tools\TrashCan;
-use BookStack\Http\Controllers\Controller;
-use BookStack\Notifications\TestEmail;
+use BookStack\Http\Controller;
 use BookStack\References\ReferenceStore;
 use BookStack\Uploads\ImageService;
 use Illuminate\Http\Request;
@@ -69,7 +68,7 @@ class MaintenanceController extends Controller
         $this->logActivity(ActivityType::MAINTENANCE_ACTION_RUN, 'send-test-email');
 
         try {
-            user()->notifyNow(new TestEmail());
+            user()->notifyNow(new TestEmailNotification());
             $this->showSuccessNotification(trans('settings.maint_send_test_email_success', ['address' => user()->email]));
         } catch (\Exception $exception) {
             $errorMessage = trans('errors.maintenance_test_email_failure') . "\n" . $exception->getMessage();