]> BookStack Code Mirror - bookstack/blobdiff - app/Services/EmailConfirmationService.php
replace GPL diff lib with MIT lib
[bookstack] / app / Services / EmailConfirmationService.php
index 31fe1da0883eacc2760683bbdbdbb437b833fdd0..c3096c654fb0fb0e1853d6ec5961b8f9df78d07a 100644 (file)
@@ -1,15 +1,15 @@
-<?php namespace Oxbow\Services;
+<?php namespace BookStack\Services;
 
 
 use Carbon\Carbon;
 use Illuminate\Contracts\Mail\Mailer;
 use Illuminate\Mail\Message;
-use Oxbow\EmailConfirmation;
-use Oxbow\Exceptions\ConfirmationEmailException;
-use Oxbow\Exceptions\UserRegistrationException;
-use Oxbow\Repos\UserRepo;
-use Oxbow\Setting;
-use Oxbow\User;
+use BookStack\EmailConfirmation;
+use BookStack\Exceptions\ConfirmationEmailException;
+use BookStack\Exceptions\UserRegistrationException;
+use BookStack\Repos\UserRepo;
+use BookStack\Setting;
+use BookStack\User;
 
 class EmailConfirmationService
 {
@@ -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 . '.');
         });
     }