From 5998fb712a7079c5ebd12223d43a91f18925372e Mon Sep 17 00:00:00 2001
From: Melanie Thielker
Date: Fri, 25 Jul 2008 06:17:43 +0000
Subject: Patch #9155 (Mantis #1793) Fix a regression that caused the region
 settings not to save. Still no SQLite support for region settings. MySQL now
 functional.

---
 OpenSim/Data/MySQL/MySQLDataStore.cs | 1 +
 1 file changed, 1 insertion(+)

(limited to 'OpenSim/Data/MySQL')

diff --git a/OpenSim/Data/MySQL/MySQLDataStore.cs b/OpenSim/Data/MySQL/MySQLDataStore.cs
index 7482df3..8f3d904 100644
--- a/OpenSim/Data/MySQL/MySQLDataStore.cs
+++ b/OpenSim/Data/MySQL/MySQLDataStore.cs
@@ -735,6 +735,7 @@ namespace OpenSim.Data.MySQL
                 {
                     RegionSettings rs = new RegionSettings();
                     rs.RegionUUID = regionUUID;
+                    rs.OnSave += StoreRegionSettings;
 
                     StoreRegionSettings(rs);
 
-- 
cgit v1.1