Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Edi Skraba
ISPConfig 3
Commits
46e82c7c
Commit
46e82c7c
authored
Jun 05, 2015
by
Marius Cramer
Browse files
Changed to use IF()
parent
a4cfc3cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/tpl/authmysqlrc.master
View file @
46e82c7c
...
...
@@ -16,4 +16,4 @@ MYSQL_QUOTA_FIELD quota
#MYSQL_QUOTA_FIELD concat(quota,'S')
#MYSQL_WHERE_CLAUSE access='y'
#MYSQL_AUXOPTIONS_FIELD concat('disableimap=',disableimap,',disablepop3=',disablepop3)
MYSQL_AUXOPTIONS_FIELD concat('disableimap=',
(replace
(disableimap
,
'y',
1)
),',','disablepop3=',
(replace
(disablepop3
,
'y',
1)
))
MYSQL_AUXOPTIONS_FIELD concat('disableimap=',
if
(disableimap
=
'y',
1, 0
),
',',
'disablepop3=',
if
(disablepop3
=
'y',
1, 0
))
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment