]> BookStack Code Mirror - bookstack/blobdiff - app/Services/EmailConfirmationService.php
replace GPL diff lib with MIT lib
[bookstack] / app / Services / EmailConfirmationService.php
index ffe21eec4d4181d32bfcf20d0564bf8a7d654fe8..c3096c654fb0fb0e1853d6ec5961b8f9df78d07a 100644 (file)
@@ -45,7 +45,7 @@ class EmailConfirmationService
             'token'   => $token,
         ]);
         $this->mailer->send('emails/email-confirmation', ['token' => $token], function (Message $message) use ($user) {
-            $appName = \Setting::get('app-name', 'BookStack');
+            $appName = setting('app-name', 'BookStack');
             $message->to($user->email, $user->name)->subject('Confirm your email on ' . $appName . '.');
         });
     }