The nmoderation_threshold_unpublish is not working properly. There was a change introduced in Revision 1.10.2.3 of the 4.5 branch that is causing nodes to not be unpublished even though the threshold has been reached. I think the culprit is near line 321:

   elseif ($row->score < variable_get('nmoderation_threshold_unpublish', 4)) {
   $node->promote = 0;
   node_save($node);

should be this instead:

$node->status = 0;

Comments

moshe weitzman’s picture

nice catch ... a copy/paste bug.

fixed

Anonymous’s picture