Skip to content

Commit

Permalink
Fix method spelling.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jun 2, 2014
1 parent 21afb25 commit be47424
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nag/lib/Api.php
Expand Up @@ -1427,7 +1427,7 @@ public function sources($writeable = false, $sync_only = false)
{
$out = array();

foreach (Nag::listTaskLists(false, $writeable ? Horde_Perms::EDIT : Horde_Perms::READ, false) as $key => $val) {
foreach (Nag::listTasklists(false, $writeable ? Horde_Perms::EDIT : Horde_Perms::READ, false) as $key => $val) {
$out[$key] = $val->get('name');
}

Expand Down
2 changes: 1 addition & 1 deletion nag/lib/Application.php
Expand Up @@ -155,7 +155,7 @@ public function sidebar($sidebar)
'collapsed' => true,
),
);
foreach (Nag::listTaskLists(false, Horde_Perms::SHOW, false) as $name => $tasklist) {
foreach (Nag::listTasklists(false, Horde_Perms::SHOW, false) as $name => $tasklist) {
$url = $list->add(array(
'display_tasklist' => $name,
'actionID' => in_array($name, $display_tasklists)
Expand Down

0 comments on commit be47424

Please sign in to comment.