summaryrefslogtreecommitdiff
path: root/core/helpers/core_block.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/helpers/core_block.php')
-rw-r--r--core/helpers/core_block.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/helpers/core_block.php b/core/helpers/core_block.php
index defde6ce..06354a10 100644
--- a/core/helpers/core_block.php
+++ b/core/helpers/core_block.php
@@ -55,6 +55,7 @@ class core_block_Core {
$block->id = "gLogEntries";
$block->title = _("Log Entries");
$block->content = new View("admin_block_log_entries.html");
+ $block->content->entries = ORM::factory("log")->orderby("timestamp", "DESC")->find_all(5);
$blocks[] = $block;
return implode("\n", $blocks);