* Going to the C# syntactic sugar way of handling the backup event delegates.

0.6.0-stable
Teravus Ovares 2008-05-21 22:06:38 +00:00
parent 8afd93c943
commit c8857daf52
1 changed files with 2 additions and 8 deletions

View File

@ -355,16 +355,10 @@ namespace OpenSim.Region.Environment.Scenes
public void TriggerOnBackup(IRegionDataStore dstore)
{
handlerBackup = OnBackup;
Delegate[] items = OnBackup.GetInvocationList();
foreach (OnBackupDelegate del in items)
if (handlerBackup != null)
{
if (del != null)
del(dstore);
handlerBackup(dstore);
}
//if (handlerBackup != null)
//{
// handlerBackup(dstore);
//}
}
public void TriggerParcelPrimCountUpdate()