mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-11-29 08:56:51 +01:00
Mysqli support added. Many functions improved.
This commit is contained in:
@@ -37,7 +37,7 @@ if ($config['log_ip']) {
|
||||
$timef = $time - $flush;
|
||||
if (getCache() < $timef) {
|
||||
$timef = $time - $visitor_config['time_period'];
|
||||
mysql_query("DELETE FROM znote_visitors_details WHERE time <= '$timef'") or die(mysql_error());
|
||||
mysql_delete("DELETE FROM znote_visitors_details WHERE time <= '$timef'");
|
||||
setCache($time);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user