delete my config + fix error in automation.php when are not any users in the server and include admin in rank is disable

This commit is contained in:
unknown
2012-06-19 19:15:22 +03:00
parent d2999d7c0f
commit 93e5869d7a
3 changed files with 3 additions and 279 deletions
+1 -1
View File
@@ -2631,7 +2631,7 @@ class MYSQL_DB {
}
function countUser() {
$q = "SELECT count(id) FROM " . TB_PREFIX . "users where id != 0";
$q = "SELECT count(id) FROM " . TB_PREFIX . "users where id > 5";
$result = mysql_query($q, $this->connection);
$row = mysql_fetch_row($result);
return $row[0];