* Going to the C# syntactic sugar way of handling the backup event delegates.
parent
8afd93c943
commit
c8857daf52
|
@ -355,16 +355,10 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
public void TriggerOnBackup(IRegionDataStore dstore)
|
public void TriggerOnBackup(IRegionDataStore dstore)
|
||||||
{
|
{
|
||||||
handlerBackup = OnBackup;
|
handlerBackup = OnBackup;
|
||||||
Delegate[] items = OnBackup.GetInvocationList();
|
if (handlerBackup != null)
|
||||||
foreach (OnBackupDelegate del in items)
|
|
||||||
{
|
{
|
||||||
if (del != null)
|
handlerBackup(dstore);
|
||||||
del(dstore);
|
|
||||||
}
|
}
|
||||||
//if (handlerBackup != null)
|
|
||||||
//{
|
|
||||||
// handlerBackup(dstore);
|
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void TriggerParcelPrimCountUpdate()
|
public void TriggerParcelPrimCountUpdate()
|
||||||
|
|
Loading…
Reference in New Issue