summaryrefslogtreecommitdiff
path: root/modules/blog
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-12-09 11:30:25 +0000
committerDries Buytaert <dries@buytaert.net>2008-12-09 11:30:25 +0000
commitc0cb68abccfa5daa442ad3deb410b81c7da7a52b (patch)
tree81b7674938d4407a487b6d9735f2a30cf26a6380 /modules/blog
parent7c30a1bac9ce4843178203040306c7ffd4dbc20c (diff)
downloadbrdo-c0cb68abccfa5daa442ad3deb410b81c7da7a52b.tar.gz
brdo-c0cb68abccfa5daa442ad3deb410b81c7da7a52b.tar.bz2
- Patch #319356 by recidive: clean up hook_nodeapi_ fucntion signatures and documentation because of previous node API clean-ups.
Diffstat (limited to 'modules/blog')
-rw-r--r--modules/blog/blog.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index 50a01b4b8..4e22962e6 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/blog.module
@@ -72,7 +72,7 @@ function blog_help($path, $arg) {
/**
* Implementation of hook_form().
*/
-function blog_form(&$node) {
+function blog_form($node, $form_state) {
global $nid;
$type = node_get_types('type', $node);
@@ -84,7 +84,7 @@ function blog_form(&$node) {
/**
* Implementation of hook_view().
*/
-function blog_view($node, $teaser = FALSE, $page = FALSE) {
+function blog_view($node, $teaser, $page) {
if ($page) {
// Breadcrumb navigation.
drupal_set_breadcrumb(array(l(t('Home'), NULL), l(t('Blogs'), 'blog'), l(t("!name's blog", array('!name' => $node->name)), 'blog/' . $node->uid)));