Common: Post::publish_scheduled() only if MAIN or ADMIN
Common: Post::publish_scheduled() only if MAIN or ADMIN

Prevent database queries slowing down response times in situations
where no subsequent Post queries will be happening: i.e. Thumbs,
JavaScript, Download, Ajax.

xenocrat/chyrp-lite,xenocrat/chyrp-lite