Index: branches/5.1.x/install/upgrades.sql
===================================================================
diff -u -r13550 -r13633
--- branches/5.1.x/install/upgrades.sql	(.../upgrades.sql)	(revision 13550)
+++ branches/5.1.x/install/upgrades.sql	(.../upgrades.sql)	(revision 13633)
@@ -90,3 +90,5 @@
 UPDATE CustomField
 SET ValueList = '=+||<SQL+>SELECT IsoCode AS OptionValue, l%3$s_Name AS OptionName FROM <PREFIX>CountryStates WHERE Type = 1 ORDER BY IsoCode ASC</SQL>'
 WHERE ValueList = '=+||<SQL>SELECT DestAbbr AS OptionValue, DestName AS OptionName FROM <PREFIX>StdDestinations WHERE DestType = 1 ORDER BY DestAbbr ASC</SQL>';
+
+DELETE FROM Permissions WHERE Permission LIKE 'in-link:configuration_email%';
