summaryrefslogtreecommitdiff
path: root/includes/model/LogEntries_model.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-12-15 19:07:53 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-12-15 19:07:53 +0100
commit9125f7e5ab964accd7d4a9e54ec7329c34406e5f (patch)
tree4ffdc345049c04f77c523ab9c7e9e04e54511113 /includes/model/LogEntries_model.php
parentaf091594c47c1de180b012640667a85fc2247601 (diff)
show 10000 log entries
Diffstat (limited to 'includes/model/LogEntries_model.php')
-rw-r--r--includes/model/LogEntries_model.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/model/LogEntries_model.php b/includes/model/LogEntries_model.php
index f7e464be..49e063dc 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 10000");
+ return sql_select("SELECT * FROM `LogEntries` ORDER BY `timestamp` DESC LIMIT 10000");
}
?> \ No newline at end of file