removed else to satisfy codeclimate checks

This commit is contained in:
Drew Hynes
2018-11-30 18:09:10 -05:00
parent d40c3de918
commit b4607e4bc2

View File

@@ -40,9 +40,8 @@ class Gitlab extends Transport
public function contactGitlab($obj, $opts)
{
// Don't create tickets for resolutions
if ($obj['state'] == 0) {
return true;
} else {
if ($obj['state'] != 0) {
$device = device_by_id_cache($obj['device_id']); // for event logging
$project_id = $opts['project-id'];