mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-21 19:49:54 +00:00
Remove bounce error thing.
This commit is contained in:
@@ -43,15 +43,6 @@ abstract class Controller extends BaseController
|
|||||||
View::share('monthFormat', $this->monthFormat);
|
View::share('monthFormat', $this->monthFormat);
|
||||||
View::share('monthAndDayFormat', $this->monthAndDayFormat);
|
View::share('monthAndDayFormat', $this->monthAndDayFormat);
|
||||||
View::share('language', $lang);
|
View::share('language', $lang);
|
||||||
|
|
||||||
// the user is bouncing email.
|
|
||||||
$bounce = Preferences::get('bounce', 'notBounced')->data;
|
|
||||||
if ($bounce != 'notBounced') {
|
|
||||||
$email = Auth::user()->email;
|
|
||||||
$message = trans('firefly.bounce_error', ['email' => $email, 'message' => $bounce]);
|
|
||||||
Session::flash('error', $message);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user