-Plausichecks: added correct fehlertext and resolution params -replaced Plausichecker Interface with abstract class, which gets ci instance and loads plausicheck lib -write issue info only if issue really newly inserted

This commit is contained in:
KarpAlex
2022-09-27 18:32:15 +02:00
parent 9bae6bb0a4
commit 1241a05ed3
31 changed files with 340 additions and 297 deletions
+3 -2
View File
@@ -262,6 +262,7 @@ class IssuesLib
return error("Invalid parameters for resolution");
}
// insert new issue
return $this->_ci->IssueModel->insert(
array(
'fehlercode' => $fehlercode,
@@ -277,8 +278,8 @@ class IssuesLib
)
);
}
else
return success($openIssueCount);
else // return success if issue already exists
return success("Issue already exists");
}
else
return error("Number of open issues could not be determined");