Completed
Push — master ( 14e52c...c7c88d )
by Mike
02:36
created
src/SugarAPI.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -219,13 +219,13 @@
 block discarded – undo
219 219
      * Force Logout of SugarAPI Object
220 220
      */
221 221
     public function logout(){
222
-       if (!empty($this->authToken)){
223
-           $response = $this->oauth2Logout()->execute()->getResponse();
224
-           if ($response->getStatus()=='200'){
225
-               unset($this->authToken);
226
-               unset($this->authExpiration);
227
-           }
228
-       }
222
+        if (!empty($this->authToken)){
223
+            $response = $this->oauth2Logout()->execute()->getResponse();
224
+            if ($response->getStatus()=='200'){
225
+                unset($this->authToken);
226
+                unset($this->authExpiration);
227
+            }
228
+        }
229 229
     }
230 230
 
231 231
     /**
Please login to merge, or discard this patch.