Make console backup command do a forced backup rather than non-forced

Remove no-arg backup method for simplicity as it only make sense to call non-forced backup internally
viewer-2-initial-appearance
Justin Clark-Casey (justincc) 2010-09-06 23:12:03 +01:00
parent 537fefa3f2
commit ab875b32c1
4 changed files with 3 additions and 8 deletions

View File

@ -1527,11 +1527,6 @@ namespace OpenSim.Region.Framework.Scenes
/// Wrapper for Backup() that can be called with Util.FireAndForget()
/// </summary>
private void BackupWaitCallback(object o)
{
Backup();
}
public void Backup()
{
Backup(false);
}

View File

@ -300,7 +300,7 @@ namespace OpenSim.Region.Framework.Scenes
public void BackupCurrentScene()
{
ForEachCurrentScene(delegate(Scene scene) { scene.Backup(); });
ForEachCurrentScene(delegate(Scene scene) { scene.Backup(true); });
}
public bool TrySetCurrentScene(string regionName)

View File

@ -300,7 +300,7 @@ namespace OpenSim.Region.OptionalModules.ContentManagement
}
}
m_log.Info("[CMMODEL]: Scheduling a backup of new scene object groups to backup.");
scene.Backup();
scene.Backup(true);
}
/// <summary>

View File

@ -133,7 +133,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady
m_firstEmptyCompileQueue = false;
m_oarFileLoading = false;
m_scene.Backup();
m_scene.Backup(false);
c.From = "RegionReady";
if (m_lastOarLoadedOk)