Completed
Pull Request — master (#1328)
by Nick
11:21 queued 05:39
created
classes/EditQueue.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -185,8 +185,7 @@  discard block
 block discarded – undo
185 185
                             WHERE edit_id=" . $approval_id . ";");
186 186
             if (!$q->success()) {
187 187
                 break;
188
-            }
189
-            else {
188
+            } else {
190 189
                 // Now send them an email telling them they've been approved
191 190
 
192 191
 
@@ -227,8 +226,7 @@  discard block
 block discarded – undo
227 226
                             WHERE edit_id=" . $decline_id . ";");
228 227
             if (!$q->success()) {
229 228
                 break;
230
-            }
231
-            else {
229
+            } else {
232 230
                 // Scrub that one from the list of pending items
233 231
                 unset ($this->pending[$decline_id]);
234 232
             }
@@ -266,8 +264,7 @@  discard block
 block discarded – undo
266 264
             $this->update_pending_count();
267 265
 
268 266
             return true;
269
-        }
270
-        else {
267
+        } else {
271 268
             return false;
272 269
         }
273 270
     }
Please login to merge, or discard this patch.
classes/GlossaryEditQueue.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,8 +68,7 @@
 block discarded – undo
68 68
                             WHERE edit_id=" . $approval_id . ";");
69 69
             if (!$q->success()) {
70 70
                 break;
71
-            }
72
-            else {
71
+            } else {
73 72
                 // Scrub that one from the list of pending items
74 73
                 unset ($this->pending[$approval_id]);
75 74
             }
Please login to merge, or discard this patch.