Index: branches/5.2.x/core/install/upgrades.sql
===================================================================
diff -u -r15390 -r15421
--- branches/5.2.x/core/install/upgrades.sql	(.../upgrades.sql)	(revision 15390)
+++ branches/5.2.x/core/install/upgrades.sql	(.../upgrades.sql)	(revision 15421)
@@ -2756,3 +2756,7 @@
 	ADD CachedTemplateHash INT UNSIGNED NOT NULL DEFAULT '0' AFTER CachedTemplate,
 	ADD INDEX (NamedParentPathHash),
 	ADD INDEX (CachedTemplateHash);
+
+# ===== v 5.2.0 =====
+INSERT INTO SystemSettings VALUES(DEFAULT, 'CategoryPermissionRebuildMode', '3', 'In-Portal', 'in-portal:configure_categories', 'la_title_General', 'la_config_CategoryPermissionRebuildMode', 'select', NULL, '1=la_opt_Manual||2=la_opt_Silent||3=la_opt_Automatic', 10.11, 0, 0, 'hint:la_config_CategoryPermissionRebuildMode');
+DELETE FROM LanguageLabels WHERE PhraseKey = 'LA_CONFIG_QUICKCATEGORYPERMISSIONREBUILD';
