diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-01-12 07:39:53 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-12 07:39:53 +0000 |
| commit | b19729435cd918e03e1bd6fbb91f7281bf3e5873 (patch) | |
| tree | 2e1e1723bfcb8358ac4060927c396777acff2af7 /modules/comment/helpers/comment_installer.php | |
| parent | ef303bde3e853a01e45b7734698210a40a7be812 (diff) | |
Dashboard blocks are now data driven, and you can add new blocks to
both the sidebar and the center content area from a dropdown at the
top of the dashboard sidebar.
Diffstat (limited to 'modules/comment/helpers/comment_installer.php')
| -rw-r--r-- | modules/comment/helpers/comment_installer.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/comment/helpers/comment_installer.php b/modules/comment/helpers/comment_installer.php index 0a45839f..4b3a7259 100644 --- a/modules/comment/helpers/comment_installer.php +++ b/modules/comment/helpers/comment_installer.php @@ -49,6 +49,10 @@ class comment_installer { PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8;"); + + $dashboard_blocks = unserialize(module::get_var("core", "dashboard_blocks")); + $dashboard_blocks["main"][] = array("comment", "recent_comments"); + module::set_var("core", "dashboard_blocks", serialize($dashboard_blocks)); module::set_var("comment", "spam_caught", 0); module::set_version("comment", 1); } |
