diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-02-18 17:48:05 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-02-18 17:48:05 +0000 |
commit | 4a96b2c52b090d6aa6367c4deb94c6b3e04ca656 (patch) | |
tree | 2b708ba3c2b429f0dd7f659bc4184c384e39bf13 /modules/node/node.module | |
parent | b4c0e8eee487c13ce90129f1673964d7d6423d19 (diff) | |
download | brdo-4a96b2c52b090d6aa6367c4deb94c6b3e04ca656.tar.gz brdo-4a96b2c52b090d6aa6367c4deb94c6b3e04ca656.tar.bz2 |
- Patch #220893 by AjK: fixed some watchdog calls.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r-- | modules/node/node.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index 54160f8a3..b517608d9 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -2618,7 +2618,7 @@ function node_make_unsticky_action(&$node, $context = array()) { */ function node_promote_action(&$node, $context = array()) { $node->promote = 1; - watchdog('action', 'Promoted @type %title to front page.', array('@type' => node_get_types('type', $node), '%title' => $node->title)); + watchdog('action', 'Promoted @type %title to front page.', array('@type' => node_get_types('name', $node), '%title' => $node->title)); } /** @@ -2627,7 +2627,7 @@ function node_promote_action(&$node, $context = array()) { */ function node_unpromote_action(&$node, $context = array()) { $node->promote = 0; - watchdog('action', 'Removed @type %title from front page.', array('@type' => node_get_types('type', $node), '%title' => $node->title)); + watchdog('action', 'Removed @type %title from front page.', array('@type' => node_get_types('name', $node), '%title' => $node->title)); } /** @@ -2636,7 +2636,7 @@ function node_unpromote_action(&$node, $context = array()) { */ function node_save_action($node) { node_save($node); - watchdog('action', 'Saved @type %title', array('@type' => node_get_types('type', $node), '%title' => $node->title)); + watchdog('action', 'Saved @type %title', array('@type' => node_get_types('name', $node), '%title' => $node->title)); } /** |