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

add transport_params hook for overriding Ingo_Transport params #4

Merged

Conversation

midahp
Copy link
Contributor

@midahp midahp commented Mar 14, 2024

@ralflang Do you think we can add this hook? I tested it and I don't think it breaks anything.

My usecase for this would be to select the sieve host based on the current user. I don't think there is already a way to do this? At least I did not find one.

@midahp midahp marked this pull request as ready for review March 15, 2024 11:49
@ralflang
Copy link
Member

Yes, looks like a valuable addition.

Copy link
Member

@ralflang ralflang left a comment

Choose a reason for hiding this comment

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

Approved, with request for later follow up.

$transportParams = array_merge($transportParams, $customParams);
}

$class = 'Ingo_Transport_' . ucfirst($transportDriver);
Copy link
Member

Choose a reason for hiding this comment

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

Please do a follow up PR which would also work on Horde\Ingo\Transport\ as we are transitioning to namespaced-first (and eventually, namespaced-only. For now it's OK though.

@ralflang ralflang merged commit 08269f5 into horde:FRAMEWORK_6_0 Mar 28, 2024
0 of 6 checks passed
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