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

English fixes and minor code tidyup #175

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

English fixes and minor code tidyup #175

wants to merge 2 commits into from

Conversation

olipayne
Copy link

@olipayne olipayne commented Jul 9, 2019

No description provided.

Copy link
Owner

@heiglandreas heiglandreas left a comment

Choose a reason for hiding this comment

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

Thank you for cleaning up a lot of tiny details. I apprechiate that very much!

Though two things arose where I'd be really happy about your feedback.

@@ -65,7 +65,7 @@ public function bind()
}

if ($allFailed) {
throw new AuthLDAP_Exception('No bind successfull');
Copy link
Owner

Choose a reason for hiding this comment

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

This wording was used deliberately as the library tries multiple binds and none of these is successful.

Copy link
Author

Choose a reason for hiding this comment

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

Ok I misunderstood the context, 'No bind successful' is a viable alternative :)

@@ -30,9 +30,9 @@
*/
?><div class="wrap">
<?php if (! extension_loaded('ldap')) : ?>
<div class="error"><strong>Caveat:</strong> The LDAP-extension is not loaded!
Copy link
Owner

Choose a reason for hiding this comment

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

Why did you remove the strong marking here?

Copy link
Author

Choose a reason for hiding this comment

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

This was more of a personal opinion, the alert is already inside a

element so it seemed unnecessary to add extra emphasis on any text

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