diff options
author | Philip Häusler <msquare@notrademark.de> | 2013-12-27 17:54:12 +0100 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2013-12-27 17:54:12 +0100 |
commit | 2c41fcdc0902279fd5c651a7ba08dbe7ba02d94b (patch) | |
tree | 4d4897a4d7cbcad51b13c650d85e79faee6b8474 /includes | |
parent | c063d8aac4c211a0ca88262fddf9f9f2bb2ccc9e (diff) |
display max 10000 log entries (1000 before)
Diffstat (limited to 'includes')
-rw-r--r-- | includes/model/LogEntries_model.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/model/LogEntries_model.php b/includes/model/LogEntries_model.php index 30e2b58c..f7e464be 100644 --- a/includes/model/LogEntries_model.php +++ b/includes/model/LogEntries_model.php @@ -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 1000"); + return sql_select("SELECT * FROM `LogEntries` WHERE `timestamp` > " . (time() - 24 * 60 * 60) . " ORDER BY `timestamp` DESC LIMIT 10000"); } ?>
\ No newline at end of file |