W1zzard
Well-known member
- Affected version
- 2.0 RC3
1010031-110b1.php, line 138, why doesn't this code use executeUpgradeQuery?
Underlying reason, I have to hook into executeUpgradeQuery to extract queries and run them manually on each Galera cluster node, to not hang the whole cluster.
More of those in the same file.
Underlying reason, I have to hook into executeUpgradeQuery to extract queries and run them manually on each Galera cluster node, to not hang the whole cluster.
More of those in the same file.
Code:
// new conversation attachment permissions: insert for mods and admins only by default
$db->query("
INSERT IGNORE INTO xf_permission_entry
(user_group_id, user_id, permission_group_id, permission_id, permission_value, permission_value_int)
VALUES
(3, 0, 'conversation', 'uploadAttachment', 'allow', 0),
(4, 0, 'conversation', 'uploadAttachment', 'allow', 0)
");