6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/4/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#5151] CustomSQL Auth - function exists
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. ..__ . .. . | || || \|\ || | |__||__||__/| \||__|
Comment
> There is no definition for the function "exists " in the customSQL > Auth Backend. By default, the function of the SQL backend is used but > unfortunatly it doesn't work. > > > > Parameters for SQL and CustomSQL are different. I propuse using the > following function in the class customSQL : > > > > function exists($userId) > > { > > return in_array($userId, $this->listUsers()); > > } > > > > Otherwise, we can ask the user a query handling the existance of an > user. This could be more efficient than listing all users and then > searching him in the array... > > > > Best regards, > > > > x3n > > http://www.molinier.eu
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers