Skip to content

Commit

Permalink
$cache instead of $conf here too
Browse files Browse the repository at this point in the history
  • Loading branch information
rlerdorf committed Apr 29, 2013
1 parent 7929b95 commit 30cff4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mage/Connect/Command/Registry.php
Expand Up @@ -47,7 +47,7 @@ public function doList($command, $options, $params)
$cache = $this->getSconfig();
}
if(!empty($params[0])) {
$chanName = $conf->chanName($params[0]);
$chanName = $cache->chanName($params[0]);
$data = $cache->getInstalledPackages($chanName);
} else {
$data = $cache->getInstalledPackages();
Expand Down Expand Up @@ -172,4 +172,4 @@ public function doInfo($command, $options, $params)
$this->doError($command, $e->getMessage());
}
}
}
}

0 comments on commit 30cff4a

Please sign in to comment.