mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* Going to the C# syntactic sugar way of handling the backup event delegates.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user