Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 6b93e78

Browse files
author
Michael Grauer
committed
BUG: Refs #212. Fix of left-link icon and redirect, commented out code cleaned
1 parent 1f739fd commit 6b93e78

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

modules/batchmake/Notification.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ public function getDashboard()
5656
public function getLeftLink()
5757
{
5858
$fc = Zend_Controller_Front::getInstance();
59-
$moduleWebroot = $fc->getBaseUrl() . MIDAS_BATCHMAKE_MODULE;
60-
return array(ucfirst(MIDAS_BATCHMAKE_MODULE) => array($moduleWebroot, $moduleWebroot . '/public/images/cmake.png'));
59+
$moduleWebroot = $fc->getBaseUrl() . '/modules/' . MIDAS_BATCHMAKE_MODULE;
60+
return array(ucfirst(MIDAS_BATCHMAKE_MODULE) => array($moduleWebroot . '/config', $moduleWebroot . '/public/images/cmake.png'));
6161
}
6262

6363
} //end class

modules/batchmake/controllers/components/ApiComponent.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ public function testconfig($params)
5757
}
5858
}
5959

60-
//$this->_checkKeys(array('item_id', 'metric_name'), $value);
61-
6260
$componentLoader = new MIDAS_ComponentLoader();
6361
$kwbatchmakeComponent = $componentLoader->loadComponent('KWBatchmake', 'batchmake');
6462
return $kwbatchmakeComponent->testconfig($configParams);

0 commit comments

Comments
 (0)