Lot's of bug fixes
This commit is contained in:
parent
ad320963fc
commit
7718ed6c32
196 changed files with 51167 additions and 3010 deletions
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace App;
|
||||
|
||||
use App\Notifications\SendMailChange;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ChangeEmail extends Model
|
||||
|
@ -19,9 +18,4 @@ class ChangeEmail extends Model
|
|||
'user_id', 'email', 'token'
|
||||
];
|
||||
|
||||
public function sendMail() {
|
||||
$user = User::findOrFail($this->user_id);
|
||||
$user->notify(new SendMailChange($this));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Reference in a new issue