show 10000 log entries

This commit is contained in:
Philip Häusler 2014-12-15 19:07:53 +01:00
parent af091594c4
commit 9125f7e5ab
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ function LogEntry_create($nick, $message) {
* Returns log entries of the last 24 hours with maximum count of 1000.
*/
function LogEntries() {
return sql_select("SELECT * FROM `LogEntries` WHERE `timestamp` > " . (time() - 24 * 60 * 60) . " ORDER BY `timestamp` DESC LIMIT 10000");
return sql_select("SELECT * FROM `LogEntries` ORDER BY `timestamp` DESC LIMIT 10000");
}
?>