Should just be if ($action == 'approve'), email and jabber are no longer required to be enabled to send notifications (they can receive basic notifications)