Would it be possible to have Auto Expire notify the user who most recently edited a node (instead of the node's creator)? I'm thinking you could use code that looks something like this to pull in the last editor:
<?PHP
function last_edit_info($node) {
$result = db_query("SELECT u.uid, u.name
FROM {node_revisions} nr, {users} u
WHERE nr.uid = u.uid
AND nr.nid = %d
ORDER BY timestamp DESC
LIMIT 1", $node->nid);
$resultset = db_fetch_object($result);
if(user_access('access user profiles')) {
$author = $resultset->uid;
} else {
$author = check_plain($resultset->name);
}
return $author;
}
?>This would be great for our organization, as we have a lot of content that's set to expire a year after it's created. Often, the content will be edited by someone else during that year, and the original author might no longer be with us.