removed debug message

main
hecht 13 years ago
parent 58070ad57c
commit eb8b667f29

@ -372,7 +372,6 @@ function isClanLocked($clanid) {
$sql = 'SELECT *, locked_until > now() as `lock`, (Select count(id) from user where clan = c2.id) as members FROM clan_locked right join clan c2 on c2.id = clan_locked.clanid where c2.id = ' . $clanid; $sql = 'SELECT *, locked_until > now() as `lock`, (Select count(id) from user where clan = c2.id) as members FROM clan_locked right join clan c2 on c2.id = clan_locked.clanid where c2.id = ' . $clanid;
// echo $sql.'<br>'; // echo $sql.'<br>';
$lock = mysql_fetch_assoc(mysql_query($sql)); $lock = mysql_fetch_assoc(mysql_query($sql));
echo $lock['lock'] . ' => ' . ($lock['lock'] == 0?'TRUE':'FALSE').'<br>';
if($lock['lock'] == 0) { // don't matter if it is 0 or NULL if($lock['lock'] == 0) { // don't matter if it is 0 or NULL
// we do not have data in the clan locked table so we are not locked :D // we do not have data in the clan locked table so we are not locked :D

Loading…
Cancel
Save