-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Laravolt dependency. Closes #3376
- Loading branch information
Showing
7 changed files
with
89 additions
and
344 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,21 +12,19 @@ | |
namespace CachetHQ\Cachet\Models; | ||
|
||
use AltThree\Validator\ValidatingTrait; | ||
use CachetHQ\Cachet\Presenters\UserPresenter; | ||
use Illuminate\Database\Eloquent\Builder; | ||
use Illuminate\Database\Eloquent\Model; | ||
use Illuminate\Foundation\Auth\User as Authenticatable; | ||
use Illuminate\Notifications\Notifiable; | ||
use Illuminate\Support\Facades\Hash; | ||
use Illuminate\Support\Str; | ||
use McCool\LaravelAutoPresenter\HasPresenter; | ||
|
||
/** | ||
* This is the user model. | ||
* | ||
* @author James Brooks <[email protected]> | ||
*/ | ||
class User extends Authenticatable implements HasPresenter | ||
class User extends Authenticatable | ||
{ | ||
use Notifiable, ValidatingTrait; | ||
|
||
|
@@ -211,14 +209,4 @@ public function getHasTwoFactorAttribute() | |
{ | ||
return trim($this->google_2fa_secret) !== ''; | ||
} | ||
|
||
/** | ||
* Get the presenter class. | ||
* | ||
* @return string | ||
*/ | ||
public function getPresenterClass() | ||
{ | ||
return UserPresenter::class; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.