aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-07-07 23:43:27 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-07-07 23:43:27 +0000
commit4cc4867c972efb5914059a53d6297ddd0eea4690 (patch)
tree4abe722d69a570f9a310d85cb0aab4aa8b5c84ac /phpBB/includes/functions_admin.php
parent696e83355548f3d06e38eb2c19d713bc76ba9a18 (diff)
downloadforums-4cc4867c972efb5914059a53d6297ddd0eea4690.tar
forums-4cc4867c972efb5914059a53d6297ddd0eea4690.tar.gz
forums-4cc4867c972efb5914059a53d6297ddd0eea4690.tar.bz2
forums-4cc4867c972efb5914059a53d6297ddd0eea4690.tar.xz
forums-4cc4867c972efb5914059a53d6297ddd0eea4690.zip
Another sqlite UNION ALL insert update ... yes, I know sqlite install seems to be rather borked at present ... I thought, "hhmm, that worked too well too quickly" so I broke it to ensure consistency is maintained with the rest of the codebase
git-svn-id: file:///svn/phpbb/trunk@4212 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index e07f8eb4d8..225a7e7fa5 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -1426,8 +1426,9 @@ function cache_moderators()
break;
case 'mssql':
+ case 'sqlite':
$sql = 'INSERT INTO ' . MODERATOR_TABLE . ' (forum_id, user_id, username, group_id, groupname)
- VALUES ' . implode(' UNION ALL ', preg_replace('#^(.*)$#', 'SELECT \1', $m_sql));
+ ' . implode(' UNION ALL ', preg_replace('#^(.*)$#', 'SELECT \1', $m_sql));
$db->sql_query($sql);
break;