mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
removed else to satisfy codeclimate checks
This commit is contained in:
@@ -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'];
|
||||
|
Reference in New Issue
Block a user