@@ -185,8 +185,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |
@@ -68,8 +68,7 @@ |
||
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 | } |