From 5869598c4ca462bfda3b83b707c57433048f364c Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 26 Jun 2009 00:00:20 +0000 Subject: Make delete-region delete the section from an ini file. Will delete the whole file if it has no sections left. --- OpenSim/Framework/RegionInfo.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index eb10fac..504b303 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs @@ -259,6 +259,8 @@ namespace OpenSim.Framework newFile.Save(filename); + RegionFile = filename; + return; } @@ -273,6 +275,8 @@ namespace OpenSim.Framework if (configName != String.Empty && saveFile) source.Save(filename); + RegionFile = filename; + return; } @@ -285,6 +289,8 @@ namespace OpenSim.Framework ReadNiniConfig(xmlsource, configName); + RegionFile = filename; + return; } catch (Exception) -- cgit v1.1