Completed
Push — master ( 8494ac...b8503d )
by Andreas
22:42
created
src/midcom/dba/parameters.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
             return false;
207 207
         }
208 208
 
209
-        if (   !$this->can_do('midgard:update')
209
+        if (!$this->can_do('midgard:update')
210 210
             || !$this->can_do('midgard:parameters')) {
211 211
             debug_add("Failed to set parameters, midgard:update or midgard:parameters on the " . get_class($this) . " {$this->guid} not granted for the current user.",
212 212
                       MIDCOM_LOG_ERROR);
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
             debug_add('Cannot delete parameters on a non-persistent object.', MIDCOM_LOG_WARN);
250 250
             return false;
251 251
         }
252
-        if (   empty($domain)
252
+        if (empty($domain)
253 253
             || empty($name)
254 254
             || !is_string($domain)
255 255
             || !is_string($name)) {
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
             return false;
260 260
         }
261 261
 
262
-        if (   !$this->can_do('midgard:update')
262
+        if (!$this->can_do('midgard:update')
263 263
             || !$this->can_do('midgard:parameters')) {
264 264
             debug_add("Failed to delete parameters, midgard:update or midgard:parameters on the " . get_class($this) . " {$this->guid} not granted for the current user.",
265 265
                       MIDCOM_LOG_ERROR);
Please login to merge, or discard this patch.