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

Commit

Permalink
BUG: Refs #212. Fix of left-link icon and redirect, commented out cod…
Browse files Browse the repository at this point in the history
…e cleaned
  • Loading branch information
Michael Grauer committed Oct 4, 2011
1 parent 1f739fd commit 6b93e78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/batchmake/Notification.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ public function getDashboard()
public function getLeftLink()
{
$fc = Zend_Controller_Front::getInstance();
$moduleWebroot = $fc->getBaseUrl() . MIDAS_BATCHMAKE_MODULE;
return array(ucfirst(MIDAS_BATCHMAKE_MODULE) => array($moduleWebroot, $moduleWebroot . '/public/images/cmake.png'));
$moduleWebroot = $fc->getBaseUrl() . '/modules/' . MIDAS_BATCHMAKE_MODULE;
return array(ucfirst(MIDAS_BATCHMAKE_MODULE) => array($moduleWebroot . '/config', $moduleWebroot . '/public/images/cmake.png'));
}

} //end class
Expand Down
2 changes: 0 additions & 2 deletions modules/batchmake/controllers/components/ApiComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ public function testconfig($params)
}
}

//$this->_checkKeys(array('item_id', 'metric_name'), $value);

$componentLoader = new MIDAS_ComponentLoader();
$kwbatchmakeComponent = $componentLoader->loadComponent('KWBatchmake', 'batchmake');
return $kwbatchmakeComponent->testconfig($configParams);
Expand Down

0 comments on commit 6b93e78

Please sign in to comment.