summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/node/node.module')
-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 5f945bdb3..d7452faf5 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -2508,7 +2508,7 @@ function node_make_sticky_action(&$node, $context = array()) {
/**
* Implementation of a Drupal action.
- * Sets the sticky-at-top-of-list property of a node to 1.
+ * Sets the sticky-at-top-of-list property of a node to 0.
*/
function node_make_unsticky_action(&$node, $context = array()) {
$node->sticky = 0;
@@ -2529,7 +2529,7 @@ function node_promote_action(&$node, $context = array()) {
* Sets the promote property of a node to 0.
*/
function node_unpromote_action(&$node, $context = array()) {
- $node->promote = 1;
+ $node->promote = 0;
watchdog('action', 'Removed @type %title from front page.', array('@type' => node_get_types('type', $node), '%title' => $node->title));
}