Skip to content

Solves #27#53

Open
mgrundkoetter wants to merge 1 commit into
DavidBruchmann:developfrom
mgrundkoetter:patch-2
Open

Solves #27#53
mgrundkoetter wants to merge 1 commit into
DavidBruchmann:developfrom
mgrundkoetter:patch-2

Conversation

@mgrundkoetter

Copy link
Copy Markdown

No description provided.

@schams-net schams-net added the question Further information is requested label Feb 14, 2019
@schams-net

Copy link
Copy Markdown

I understand this is not your code, I am just wondering, maybe someone can explain if the ViewHelper really does what it is meant to do :-)

Description in the comment reads:

ViewHelper that renders its contents if there is a user currently logged in.

I'd say, either the function or the description is wrong. If the description is wrong, and the ViewHelper in fact should just check, if the current user is logged-in, can't we use Fluid's existing IfAuthenticated-ViewHelper (which derives from AbstractConditionViewHelper already)?

@DavidBruchmann

DavidBruchmann commented Feb 14, 2019

Copy link
Copy Markdown
Owner

sorry, I was mistaking in deleted comment, at least related to the changed code.

@mgrundkoetter

Copy link
Copy Markdown
Author

Yeah, sure. But that is not backward compatible :-) Better: deprecate it now, remove it in the next major release.

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

Labels

question Further information is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants