As strpos returns a numerical value when the requested pattern has been found, getUserEmail in the current state of things will always return the owncloud username. According to #4, this isn't the intented behaviour. The following PR should fix that.
As
strpos
returns a numerical value when the requested pattern has been found,getUserEmail
in the current state of things will always return the owncloud username. According to #4, this isn't the intented behaviour. The following PR should fix that.