Completed
Pull Request — master (#22)
by Matthew
13:34
created
src/AppBundle/Controller/AutomatedEditsController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
6 6
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
7 7
 use Symfony\Component\HttpFoundation\Request;
8
-use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
9 8
 
10 9
 class AutomatedEditsController extends Controller
11 10
 {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -155,8 +155,8 @@
 block discarded – undo
155 155
         $rev = $lh->getTable("revision", $dbName);
156 156
         $arc = $lh->getTable("archive", $dbName);
157 157
   
158
-        $cond_begin = ( $begin ) ? " AND rev_timestamp > '$begin' " : null;
159
-        $cond_end = ( $end ) ? " AND rev_timestamp < '$end' ": null;
158
+        $cond_begin = ($begin) ? " AND rev_timestamp > '$begin' " : null;
159
+        $cond_end = ($end) ? " AND rev_timestamp < '$end' " : null;
160 160
 
161 161
         foreach ($AEBTypes as $toolname => $check) {
162 162
             $toolname = $dbh->quote($toolname, \PDO::PARAM_STR);
Please login to merge, or discard this patch.