Completed
Pull Request — development (#807)
by
unknown
05:37
created
htdocs/log.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@
 block discarded – undo
3 3
  * for license information see LICENSE.md
4 4
  ***************************************************************************/
5 5
 
6
-use Oc\FieldNotes\Entity\FieldNote;
7 6
 use Oc\FieldNotes\Enum\LogType as FieldNotesLogType;
8 7
 use Oc\FieldNotes\Persistence\FieldNoteEntity;
9 8
 use Oc\FieldNotes\Persistence\FieldNoteService;
10
-use Oc\GeoCache\Entity\GeocacheLog;
11 9
 use Oc\GeoCache\Enum\GeoCacheType;
12 10
 use Oc\GeoCache\Enum\LogType as GeoCacheLogType;
13 11
 use Oc\GeoCache\Enum\NeedMaintenance;
Please login to merge, or discard this patch.
htdocs/lib2/edithelper.inc.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,6 @@
 block discarded – undo
6 6
 
7 7
 // used in both lib1 and lib2 code
8 8
 
9
-use OcLegacy\Editor\EditorConstants;
10
-
11 9
 require_once __DIR__ . '/smiley.inc.php';
12 10
 
13 11
 
Please login to merge, or discard this patch.
htdocs_symfony/src/Entity/CachesEntity.php 1 patch
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -84,10 +84,11 @@
 block discarded – undo
84 84
      */
85 85
     public function isActiveAndFindableAndSoOn(): bool
86 86
     {
87
-        if ($this->status == 1)
88
-            return $this->true;
89
-        else
90
-            return $this->false;
87
+        if ($this->status == 1) {
88
+                    return $this->true;
89
+        } else {
90
+                    return $this->false;
91
+        }
91 92
     }
92 93
 
93 94
     public function getID(): int
Please login to merge, or discard this patch.
htdocs_symfony/src/Controller/Backend/CachesController.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,8 +73,9 @@
 block discarded – undo
73 73
             $fetched_cache = $connection->fetchAll('SELECT * FROM caches WHERE wp_gc = "' . $wp_oc . '"');
74 74
 
75 75
             // if search for wp_gc also gave no result, search for wp_nc
76
-            if (empty($fetched_cache) == true)
77
-                $fetched_cache = $connection->fetchAll('SELECT * FROM caches WHERE wp_nc = "' . $wp_oc . '"');
76
+            if (empty($fetched_cache) == true) {
77
+                            $fetched_cache = $connection->fetchAll('SELECT * FROM caches WHERE wp_nc = "' . $wp_oc . '"');
78
+            }
78 79
         }
79 80
 
80 81
 //        if (!$fetched_cache)
Please login to merge, or discard this patch.