public function getPendingList()
{
$csv = new Varien_File_Csv();
$pendingList = array();
try {
$todoList = $csv->getData($this->_helper->getStoragePath() . $this->_helper->getAllActionsFilename());
$doneList = $csv->getData($this->_helper->getStoragePath() . $this->_helper->getExecutedActionsFilename());
$todo = array();
$done = array();
foreach ($todoList as $k => $v) {
$todo[$k] = implode('|', $v);
}
foreach ($doneList as $k => $v) {
$done[$k] = implode('|', $v);
}
foreach (array_diff($todo, $done) as $k => $v) {
$pendingList[$k] = $todoList[$k];
}
} catch (Exception $e) {
$this->_helper->log($e->getMessage());
}
return $pendingList;
}