summaryrefslogtreecommitdiffstats
path: root/app/model
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/model/auth.mod.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/app/model/auth.mod.php b/app/model/auth.mod.php
index aa0adf3..cdf416b 100644
--- a/app/model/auth.mod.php
+++ b/app/model/auth.mod.php
@@ -23,18 +23,14 @@ class AuthModel extends CommonModel
}
/*
- * Initial signup action
- */
- function initialSignup()
- {
- $this->noaccounts = true;
- }
-
- /*
* Signup action
*/
function signup()
{
+ $userTbl = new User();
+
+ if (count($userTbl->getAllUsers_orderByName()) == 0)
+ $this->noaccounts = true;
}
/*