Index: branches/5.3.x/core/install/upgrades.sql
===================================================================
diff -u -r16531 -r16545
--- branches/5.3.x/core/install/upgrades.sql	(.../upgrades.sql)	(revision 16531)
+++ branches/5.3.x/core/install/upgrades.sql	(.../upgrades.sql)	(revision 16545)
@@ -2936,6 +2936,11 @@
 UPDATE SystemSettings SET VariableValue = 1 WHERE VariableName = 'CSVExportEncoding';
 ALTER TABLE Semaphores ADD MainIDs INT NULL DEFAULT NULL AFTER MainPrefix;
 
+# ===== v 5.2.2-B2 =====
+UPDATE Modules
+SET ClassNamespace = 'InPortal\\Core'
+WHERE `Name` IN ('Core', 'In-Portal');
+
 # ===== v 5.3.0-B1 =====
 ALTER TABLE ScheduledTasks ADD Settings TEXT NULL;
 ALTER TABLE Themes ADD ImageResizeRules TEXT NULL;
@@ -3033,9 +3038,10 @@
 	CHANGE SSLUrlUsesRegExp SSLDomainNameUsesRegExp TINYINT(4) NOT NULL DEFAULT '0';
 DELETE FROM UserPersistentSessionData WHERE VariableName = 'site-domain[Default]columns_.';
 
-UPDATE Modules
-SET ClassNamespace = 'InPortal\\Core'
-WHERE `Name` IN ('Core', 'In-Portal');
+# Backported in http://jira.in-portal.org/browse/INP-1690.
+# UPDATE Modules
+# SET ClassNamespace = 'InPortal\\Core'
+# WHERE `Name` IN ('Core', 'In-Portal');
 
 UPDATE EmailTemplates
 SET
