The doc block for the protected_node_is_locked function does not reflect that the function can return a -1 in addition to the TRUE, FALSE, and $nid return values described. The attached patch adds documentation of the -1 return value.

Comments

zilverdistel’s picture

Status: Needs review » Closed (fixed)

Excellent work! I committed as is.

Thank you,

Diederik