Fixes #732 Modlog, $lang->post not defined

Only makes sense to have a pid stored in soft delete and restore (this
commit fixes that)