Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Added an ldap_mod_del and ldap_mod_add functionality. #53

Merged
merged 2 commits into from
Mar 6, 2017

Conversation

martinjinda
Copy link
Contributor

@martinjinda martinjinda commented Aug 16, 2016

This PR adds a way to delete or add one or more attributes to the
specified dn.

This PR issue #5

This PR adds a way to delete or add one or more attributes to the
specified dn. This PR issue
zendframework#5
@heiglandreas
Copy link
Member

Thanks for your contribution!

I'll review it as soon as I'm back from holiday (being sunday).

@martinjinda
Copy link
Contributor Author

martinjinda commented Aug 16, 2016

Yep, hope it will be fine.

Enjoy vacation 👍

@ThaDafinser
Copy link

@martinjinda there is already a method deleteAttributes()
https://github.com/zendframework/zend-ldap/blob/master/src/Ldap.php#L1314-L1339

Only the add method is missing or did i overseen something?

@martinjinda
Copy link
Contributor Author

@ThaDafinser You didn't, but I did. So that's great. Plus I didn't control input from user in the entry at all.

- addAttr() renamed to addAttributes() and it was added check of user
input.

- delAttr() was duplicate of deleteAttributes(), it was removed.
@heiglandreas
Copy link
Member

@martinjinda Thanks for your contribution. Can you please also add a test for the method?

heiglandreas added a commit that referenced this pull request Sep 16, 2016
@heiglandreas
Copy link
Member

Damned Typo in a commit-message...

@heiglandreas
Copy link
Member

@martinjinda Any news on this PR? I'D love to add it to the lib but I'd need some tests for that…

@martinjinda
Copy link
Contributor Author

@heiglandreas Thanks for remind me. Will take a look.

@heiglandreas heiglandreas added this to the 2.8.0 milestone Mar 6, 2017
@heiglandreas heiglandreas merged commit 2fddec0 into zendframework:master Mar 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants