mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
cosmetics
This commit is contained in:
@@ -95,7 +95,7 @@ namespace OpenSim.Groups
|
||||
|
||||
public ExtendedGroupRecord GetGroupRecord(string RequestingAgentID, UUID GroupID, string GroupName, string token)
|
||||
{
|
||||
if (GroupID.IsZero() && (GroupName == null || (GroupName != null && GroupName == string.Empty)))
|
||||
if (GroupID.IsZero() && string.IsNullOrEmpty(GroupName))
|
||||
return null;
|
||||
|
||||
Dictionary<string, object> sendData = new Dictionary<string, object>();
|
||||
|
||||
@@ -134,7 +134,7 @@ namespace OpenSim.Groups
|
||||
|
||||
public ExtendedGroupRecord GetGroupRecord(string RequestingAgentID, UUID GroupID, string GroupName)
|
||||
{
|
||||
if (GroupID.IsZero() && (GroupName == null || (GroupName != null && GroupName == string.Empty)))
|
||||
if (GroupID.IsZero() && string.IsNullOrEmpty(GroupName))
|
||||
return null;
|
||||
|
||||
Dictionary<string, object> sendData = new Dictionary<string, object>();
|
||||
|
||||
@@ -183,7 +183,7 @@ namespace OpenSim.Groups
|
||||
|
||||
public ExtendedGroupRecord GetGroupRecord(string RequestingAgentID, UUID GroupID, string GroupName)
|
||||
{
|
||||
if (GroupID.IsZero() && (GroupName == null || GroupName != null && GroupName == string.Empty))
|
||||
if (GroupID.IsZero() && string.IsNullOrEmpty(GroupName))
|
||||
return null;
|
||||
|
||||
return m_CacheWrapper.GetGroupRecord(RequestingAgentID,GroupID,GroupName, delegate
|
||||
|
||||
@@ -109,7 +109,7 @@ namespace OpenSim.Groups
|
||||
|
||||
public ExtendedGroupRecord GetGroupRecord(string RequestingAgentID, UUID GroupID, string GroupName, GroupRecordDelegate d)
|
||||
{
|
||||
//if (GroupID.IsZero() && (GroupName == null || GroupName != null && GroupName == string.Empty))
|
||||
//if (GroupID.IsZero() && string.IsNullOrEmpty(GroupName))
|
||||
// return null;
|
||||
|
||||
object group = null;
|
||||
|
||||
Reference in New Issue
Block a user