Marius Cramer
2015-06-05 46e82c7cf25aa70af7caf04d11bb19ac29425013
Changed to use IF()
1 files modified
2 ■■■ changed files
install/tpl/authmysqlrc.master 2 ●●● patch | view | raw | blame | history
install/tpl/authmysqlrc.master
@@ -16,4 +16,4 @@
#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))