diff options
author | Diva Canto | 2013-07-28 13:53:47 -0700 |
---|---|---|
committer | Diva Canto | 2013-07-28 13:53:47 -0700 |
commit | 63f6c8f27ca280a7d362af08ba1716d5f28e3137 (patch) | |
tree | 56c027e7f6c84b492de3463fb2a81e0252088183 | |
parent | Added BasicSearchModule.cs which handles OnDirFindQuery events. Removed that ... (diff) | |
download | opensim-SC-63f6c8f27ca280a7d362af08ba1716d5f28e3137.zip opensim-SC-63f6c8f27ca280a7d362af08ba1716d5f28e3137.tar.gz opensim-SC-63f6c8f27ca280a7d362af08ba1716d5f28e3137.tar.bz2 opensim-SC-63f6c8f27ca280a7d362af08ba1716d5f28e3137.tar.xz |
Removed commented lines and useless debug message
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Addons/Groups/GroupsModule.cs | 16 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/Search/BasicSearchModule.cs | 1 |
2 files changed, 0 insertions, 17 deletions
diff --git a/OpenSim/Addons/Groups/GroupsModule.cs b/OpenSim/Addons/Groups/GroupsModule.cs index 214a131..826fcbf 100644 --- a/OpenSim/Addons/Groups/GroupsModule.cs +++ b/OpenSim/Addons/Groups/GroupsModule.cs | |||
@@ -909,23 +909,7 @@ namespace OpenSim.Groups | |||
909 | { | 909 | { |
910 | if (m_debugEnabled) m_log.DebugFormat("[Groups]: {0} called for notice {1}", System.Reflection.MethodBase.GetCurrentMethod().Name, groupNoticeID); | 910 | if (m_debugEnabled) m_log.DebugFormat("[Groups]: {0} called for notice {1}", System.Reflection.MethodBase.GetCurrentMethod().Name, groupNoticeID); |
911 | 911 | ||
912 | //GroupRecord groupInfo = m_groupData.GetGroupRecord(GetRequestingAgentID(remoteClient), data.GroupID, null); | ||
913 | |||
914 | GridInstantMessage msg = CreateGroupNoticeIM(remoteClient.AgentId, groupNoticeID, (byte)InstantMessageDialog.GroupNoticeRequested); | 912 | GridInstantMessage msg = CreateGroupNoticeIM(remoteClient.AgentId, groupNoticeID, (byte)InstantMessageDialog.GroupNoticeRequested); |
915 | //GridInstantMessage msg = new GridInstantMessage(); | ||
916 | //msg.imSessionID = UUID.Zero.Guid; | ||
917 | //msg.fromAgentID = data.GroupID.Guid; | ||
918 | //msg.toAgentID = GetRequestingAgentID(remoteClient).Guid; | ||
919 | //msg.timestamp = (uint)Util.UnixTimeSinceEpoch(); | ||
920 | //msg.fromAgentName = "Group Notice : " + groupInfo == null ? "Unknown" : groupInfo.GroupName; | ||
921 | //msg.message = data.noticeData.Subject + "|" + data.Message; | ||
922 | //msg.dialog = (byte)OpenMetaverse.InstantMessageDialog.GroupNoticeRequested; | ||
923 | //msg.fromGroup = true; | ||
924 | //msg.offline = (byte)0; | ||
925 | //msg.ParentEstateID = 0; | ||
926 | //msg.Position = Vector3.Zero; | ||
927 | //msg.RegionID = UUID.Zero.Guid; | ||
928 | //msg.binaryBucket = data.BinaryBucket; | ||
929 | 913 | ||
930 | OutgoingInstantMessage(msg, GetRequestingAgentID(remoteClient)); | 914 | OutgoingInstantMessage(msg, GetRequestingAgentID(remoteClient)); |
931 | } | 915 | } |
diff --git a/OpenSim/Region/CoreModules/Framework/Search/BasicSearchModule.cs b/OpenSim/Region/CoreModules/Framework/Search/BasicSearchModule.cs index a089447..8838612 100644 --- a/OpenSim/Region/CoreModules/Framework/Search/BasicSearchModule.cs +++ b/OpenSim/Region/CoreModules/Framework/Search/BasicSearchModule.cs | |||
@@ -150,7 +150,6 @@ namespace OpenSim.Region.CoreModules.Framework.Search | |||
150 | 150 | ||
151 | void OnDirFindQuery(IClientAPI remoteClient, UUID queryID, string queryText, uint queryFlags, int queryStart) | 151 | void OnDirFindQuery(IClientAPI remoteClient, UUID queryID, string queryText, uint queryFlags, int queryStart) |
152 | { | 152 | { |
153 | m_log.Debug("[ZZZ]: Got here"); | ||
154 | if (((DirFindFlags)queryFlags & DirFindFlags.People) == DirFindFlags.People) | 153 | if (((DirFindFlags)queryFlags & DirFindFlags.People) == DirFindFlags.People) |
155 | { | 154 | { |
156 | if (string.IsNullOrEmpty(queryText)) | 155 | if (string.IsNullOrEmpty(queryText)) |