mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-15 21:41:06 +00:00
Cleanup
This commit is contained in:
parent
2dfbe9e5fa
commit
43ccf4b178
2 changed files with 1 additions and 3 deletions
|
@ -146,8 +146,6 @@ class ManageController extends Controller
|
|||
$form->handleRequest($request);
|
||||
|
||||
if ($form->isSubmitted() && $form->isValid()) {
|
||||
$this->get('logger')->info('searching users');
|
||||
|
||||
$searchTerm = (isset($request->get('search_user')['term']) ? $request->get('search_user')['term'] : '');
|
||||
|
||||
$qb = $em->getRepository('WallabagUserBundle:User')->getQueryBuilderForSearch($searchTerm);
|
||||
|
|
|
@ -97,7 +97,7 @@ class AuthCodeMailer implements AuthCodeMailerInterface
|
|||
|
||||
$message = new \Swift_Message();
|
||||
$message
|
||||
->setTo($user->getEmail())
|
||||
->setTo($user->getEmailAuthRecipient())
|
||||
->setFrom($this->senderEmail, $this->senderName)
|
||||
->setSubject($subject)
|
||||
->setBody($bodyText, 'text/plain')
|
||||
|
|
Loading…
Reference in a new issue