projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79fb60e
)
Convert 'horde' even if only searching for the queue id.
author
Jan Schneider
<jan@horde.org>
Mon, 14 Sep 2009 10:38:36 +0000
(12:38 +0200)
committer
Jan Schneider
<jan@horde.org>
Mon, 14 Sep 2009 10:38:36 +0000
(12:38 +0200)
framework/Release/lib/Horde/Release/Whups.php
patch
|
blob
|
history
diff --git
a/framework/Release/lib/Horde/Release/Whups.php
b/framework/Release/lib/Horde/Release/Whups.php
index
96190d7
..
e95e31e
100644
(file)
--- a/
framework/Release/lib/Horde/Release/Whups.php
+++ b/
framework/Release/lib/Horde/Release/Whups.php
@@
-47,10
+47,6
@@
class Horde_Release_Whups
*/
public function addNewVersion($module, $version, $desc = '')
{
- if ($module == 'horde') {
- $module = 'horde base';
- }
-
$id = $this->getQueueId($module);
if ($id === false) {
throw new Horde_Exception('Unable to locate requested queue');
@@
-76,6
+72,10
@@
class Horde_Release_Whups
*/
function getQueueId($module)
{
+ if ($module == 'horde') {
+ $module = 'horde base';
+ }
+
$queues = $this->_listQueues();
foreach ($queues as $id => $queue) {