From 715bee6d7b6170b38e8f0cad8f502d1230ffeba7 Mon Sep 17 00:00:00 2001
From: Olivier PEREZ <olivier@olivierperez.fr>
Date: Mon, 13 Apr 2015 23:53:28 +0200
Subject: [PATCH] Clean after merge request

---
 app/inc/config.template.php | 2 +-
 find_polls.php              | 8 +++++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/app/inc/config.template.php b/app/inc/config.template.php
index d0eaeb98..3fd95aae 100644
--- a/app/inc/config.template.php
+++ b/app/inc/config.template.php
@@ -41,7 +41,7 @@ const MIGRATION_TABLE = 'framadate_migration';
 // Table name prefix
 const TABLENAME_PREFIX = 'fd_';
 
-// Default Language using POSIX variant of BC P47 standard (choose in $ALLOWED_LANGUAGES)
+// Default Language
 const DEFAULT_LANGUAGE = 'fr';
 
 // List of supported languages, fake constant as arrays can be used as constants only in PHP >=5.6
diff --git a/find_polls.php b/find_polls.php
index c1d6add0..e3ca6dd9 100644
--- a/find_polls.php
+++ b/find_polls.php
@@ -18,15 +18,17 @@
  */
 
 use Framadate\Message;
+use Framadate\Services\LogService;
+use Framadate\Services\MailService;
 use Framadate\Services\PollService;
 
 include_once __DIR__ . '/app/inc/init.php';
 
 /* SERVICES */
 /* -------- */
-$logService = '\Framadate\Services\LogService';
-$pollService = new PollService($connect, new $logService());
-$mailService = new \Framadate\Services\MailService($config['use_smtp']);
+$logService =  new LogService();
+$pollService = new PollService($connect,  $logService);
+$mailService = new MailService($config['use_smtp']);
 
 /* PAGE */
 /* ---- */
-- 
GitLab