Skip to content

Fix post_unshareFromSelf hook parameter format - #1826

Merged
MorrisJobke merged 1 commit into
masterfrom
downstream-26391
Oct 20, 2016
Merged

Fix post_unshareFromSelf hook parameter format#1826
MorrisJobke merged 1 commit into
masterfrom
downstream-26391

Conversation

@MorrisJobke

Copy link
Copy Markdown
Member

When unsharing from self in a group share situation, the share items
passed to the post_unshareFromSelf hook were using the wrong format in
which the attribute names (ex: "share_type") have non camel-case format.

This fix makes sure that in group sharing case we use the correct
format. It looks like the code was already producing it but in
array_merge it was not using it and adding the unprocessed one.

cc @rullzer@nickvergessen@schiessle@icewind1991

When unsharing from self in a group share situation, the share items
passed to the post_unshareFromSelf hook were using the wrong format in
which the attribute names (ex: "share_type") have non camel-case format.
This fix makes sure that in group sharing case we use the correct
format. It looks like the code was already producing it but in
array_merge it was not using it and adding the unprocessed one.
@mention-bot

Copy link
Copy Markdown

@MorrisJobke, thanks for your PR! By analyzing the history of the files in this pull request, we identified @schiessle, @rullzer and @nickvergessen to be potential reviewers.

@rullzer

Copy link
Copy Markdown
Member

sign off missing ;)

But LGTM

@MorrisJobke

Copy link
Copy Markdown
MemberAuthor

I tested this too and it works 👍

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@MorrisJobke@mention-bot@rullzer