summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-01-04 11:03:15 +0000
committerDries Buytaert <dries@buytaert.net>2003-01-04 11:03:15 +0000
commit8a636465767fc47f37a0768d45b86ca53a722085 (patch)
tree85d014902b87d9a695358fae16b64726b882b5f4 /modules/node
parent7a6b8e3d3cc26d242b3c7cbb2eaf252d69b8192f (diff)
downloadbrdo-8a636465767fc47f37a0768d45b86ca53a722085.tar.gz
brdo-8a636465767fc47f37a0768d45b86ca53a722085.tar.bz2
- Added an extra parameter to watchdog() which lets you specifiy an "action"
or "operation" link. - Made the main page of the administration section show an overview of all watchdog entries with such action link. - Fixed typo in PostgreSQL database scheme.
Diffstat (limited to 'modules/node')
-rw-r--r--modules/node/node.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 56dbd2d2e..f9ea17b38 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1085,7 +1085,7 @@ function node_submit($node) {
taxonomy_node_save($nid, $node->taxonomy);
}
- watchdog("special", "$node->type: updated '$node->title'");
+ watchdog("special", "$node->type: updated '$node->title'", l("view post", array("id" => $node->nid)));
$output = t("The node has been updated.");
}
}
@@ -1127,7 +1127,7 @@ function node_submit($node) {
taxonomy_node_save($nid, $node->taxonomy);
}
- watchdog("special", "$node->type: added '$node->title'");
+ watchdog("special", "$node->type: added '$node->title'", l("view post", array("id" => $nid)));
$output = t("Thanks for your submission.");
}
}