]> wagnertech.de Git - timetracker.git/blobdiff - mobile/login.php
Introduced ttGroupHelper class as part of refactoring.
[timetracker.git] / mobile / login.php
index 538a0b544894ee1e27448646e3546bc9afc65175..384cf8c7fc1158a2786f9c2dd445c15908184ba8 100644 (file)
@@ -28,7 +28,7 @@
 
 require_once('../initialize.php');
 import('form.Form');
-import('ttTeamHelper');
+import('ttGroupHelper');
 import('ttUser');
 
 if ($request->isPost()) {
@@ -80,7 +80,7 @@ if ($request->isPost()) {
   }
 } // isPost
 
-if(!isTrue(MULTITEAM_MODE) && !ttTeamHelper::getTeams())
+if(!isTrue(MULTITEAM_MODE) && !ttGroupHelper::getTopGroups())
   $err->add($i18n->getKey('error.no_teams'));
 
 // Determine whether to show login hint. It is currently used only for Windows LDAP authentication.