Just trying to reduce the .module file in its size.
Trying to bring everything mail and spool related into simplenews.mail.inc. The module seems to be some more ordered then.

Comments

miro_dietiker’s picture

Status: Active » Needs review
StatusFileSize
new50.67 KB

Providing patch for a first version. What do you think of this separation?

miro_dietiker’s picture

The code was tested completely to work.
Any objections to separate the module this way?

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Looks fine.

miro_dietiker’s picture

Version: 6.x-2.x-dev » 7.x-1.x-dev
Status: Reviewed & tested by the community » Patch (to be ported)

Committed to repo, needs port.

miro_dietiker’s picture

StatusFileSize
new1.09 KB

Missed two includes. Committed.

miro_dietiker’s picture

Status: Patch (to be ported) » Fixed

committed to cvs.

DrupOn’s picture

Status: Fixed » Closed (fixed)

all mail related functions separated into includes/simplenews.mail.inc for D7 version.