Skip to content

Commit

Permalink
[mms] Fix regression in accessing Ingo links from the external API (B…
Browse files Browse the repository at this point in the history
…ug #12249).
  • Loading branch information
slusarz committed May 13, 2013
1 parent 0fc7b53 commit 515eaae
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 2 additions & 0 deletions ingo/docs/CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
v3.1.0-git
----------

[mms] Fix regression in accessing Ingo links from the external API (Bug
#12249).


-----------
Expand Down
12 changes: 11 additions & 1 deletion ingo/lib/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,22 @@ public function disabled()
*/
public function links()
{
return array(
global $registry;

$pushed = $registry->pushApp('ingo');

$links = array(
'showBlacklist' => strval(Ingo_Basic_Blacklist::url()),
'showWhitelist' => strval(Ingo_Basic_Whitelist::url()),
'showFilters' => strval(Ingo_Basic_Filters::url()),
'showVacation' => strval(Ingo_Basic_Vacation::url())
);

if ($pushed) {
$registry->popApp();
}

return $links;
}

/**
Expand Down
4 changes: 2 additions & 2 deletions ingo/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</stability>
<license uri="http://www.horde.org/licenses/apache">ASL</license>
<notes>
*
* [mms] Fix regression in accessing Ingo links from the external API (Bug #12249).
</notes>
<contents>
<dir baseinstalldir="/" name="/">
Expand Down Expand Up @@ -1261,7 +1261,7 @@
<date>2013-05-07</date>
<license uri="http://www.horde.org/licenses/apache">ASL</license>
<notes>
*
* [mms] Fix regression in accessing Ingo links from the external API (Bug #12249).
</notes>
</release>
</changelog>
Expand Down

0 comments on commit 515eaae

Please sign in to comment.