Skip to content
This repository has been archived by the owner on Nov 28, 2018. It is now read-only.

inject global smtp queue instance through construct function #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lubobill1990
Copy link

  1. remove global dependency to SMTPMailingQueue from other classes, but inject SMTPMailingQueue to other classes when new instances

  2. add changes from Check for array value before using it #3

I remove global smtp queue instance because when I include wordpress from a controller in another project, the global variable can't be reached.

…ut inject SMTPMailingQueue to other classes when new instances

2. add changes from hildende#3
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant