File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed
app/code/Magento/Integration
Controller/Adminhtml/Integration Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ protected function _redirectOnSaveError()
29
29
* Save integration action.
30
30
*
31
31
* @return void
32
- * @todo: Fix cyclomatic complexity.
33
32
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
34
33
*/
35
34
public function execute ()
@@ -55,7 +54,6 @@ public function execute()
55
54
/** @var array $data */
56
55
$ data = $ this ->getRequest ()->getPost ();
57
56
if (!empty ($ data )) {
58
- // TODO: Move out work with API permissions to Web API module
59
57
if (!isset ($ data ['resource ' ])) {
60
58
$ integrationData ['resource ' ] = [];
61
59
}
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ public function create(array $integrationData)
44
44
{
45
45
$ this ->_checkIntegrationByName ($ integrationData ['name ' ]);
46
46
$ integration = $ this ->_integrationFactory ->create ($ integrationData );
47
- // TODO: Think about double save issue
48
47
$ integration ->save ();
49
48
$ consumerName = 'Integration ' . $ integration ->getId ();
50
49
$ consumer = $ this ->_oauthService ->createConsumer (['name ' => $ consumerName ]);
You can’t perform that action at this time.
0 commit comments