mirror of
https://github.com/wallabag/wallabag.git
synced 2025-04-25 19:34:07 +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);
|
$form->handleRequest($request);
|
||||||
|
|
||||||
if ($form->isSubmitted() && $form->isValid()) {
|
if ($form->isSubmitted() && $form->isValid()) {
|
||||||
$this->get('logger')->info('searching users');
|
|
||||||
|
|
||||||
$searchTerm = (isset($request->get('search_user')['term']) ? $request->get('search_user')['term'] : '');
|
$searchTerm = (isset($request->get('search_user')['term']) ? $request->get('search_user')['term'] : '');
|
||||||
|
|
||||||
$qb = $em->getRepository('WallabagUserBundle:User')->getQueryBuilderForSearch($searchTerm);
|
$qb = $em->getRepository('WallabagUserBundle:User')->getQueryBuilderForSearch($searchTerm);
|
||||||
|
|
|
@ -97,7 +97,7 @@ class AuthCodeMailer implements AuthCodeMailerInterface
|
||||||
|
|
||||||
$message = new \Swift_Message();
|
$message = new \Swift_Message();
|
||||||
$message
|
$message
|
||||||
->setTo($user->getEmail())
|
->setTo($user->getEmailAuthRecipient())
|
||||||
->setFrom($this->senderEmail, $this->senderName)
|
->setFrom($this->senderEmail, $this->senderName)
|
||||||
->setSubject($subject)
|
->setSubject($subject)
|
||||||
->setBody($bodyText, 'text/plain')
|
->setBody($bodyText, 'text/plain')
|
||||||
|
|
Loading…
Reference in a new issue