Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set ownerid of invite campaign to 1 for fresh new installations #380

Merged
merged 2 commits into from
Jul 29, 2018

Conversation

xh3n1
Copy link
Member

@xh3n1 xh3n1 commented Jul 26, 2018

Signed-off-by: Xheni Myrtaj myrtajxheni@gmail.com

Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
@xh3n1 xh3n1 requested review from michield and samtuke July 26, 2018 21:29
@@ -1484,7 +1484,7 @@ function addSubscriberStatistics($item, $amount, $list = 0)
* @todo Make the campaign content translatable
* @todo Add Campaign Meta Title to clarify purpose of this draft
*/
function addInviteCampaign() {
function addInviteCampaign($install) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This param should be initialised to be backwards compatible

function addInviteCampaign($install = "") {

Also, "install" is not a great description of this parameter, but we can live with that.

Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
@xh3n1
Copy link
Member Author

xh3n1 commented Jul 29, 2018

@michield thanks for the review. I made changes to the PR.

@michield michield merged commit d1d6ce3 into release-3.3.4 Jul 29, 2018
@samtuke samtuke deleted the invite-campaign-owner branch August 6, 2018 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants