Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

Commit

Permalink
Removed redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-godfrey committed May 30, 2018
1 parent 6eeb7ad commit 0072155
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/Vtiger.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,10 @@ protected function sessionid()
}
}

if ($response->me) {
return json_encode(array(
'success' => false,
'message' => $login_result->error->message
));
}
return json_encode(array(
'success' => false,
'message' => $login_result->error->message
));
}

// login ok so get sessionid
Expand Down

0 comments on commit 0072155

Please sign in to comment.