Skip to content

Commit

Permalink
Implement Horde_Registry_Application#getInitialPage() for Turba
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Feb 10, 2014
1 parent df74dcf commit e2621ab
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions turba/lib/Application.php
Expand Up @@ -164,6 +164,22 @@ public function perms()
return $perms;
}

/**
*/
public function getInitialPage()
{
global $registry;

switch ($registry->getView()) {
case $registry::VIEW_SMARTMOBILE:
return strval(Horde::url('smartmobile.php'));
break;

default:
return null;
}
}

/**
*/
public function menu($menu)
Expand Down

0 comments on commit e2621ab

Please sign in to comment.