aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-05-15 22:51:47 +0100
committerJustin Clark-Casey (justincc)2014-05-15 22:51:47 +0100
commit4a74c4533c80403a664a761dbc871e52e3e7788e (patch)
tree88676020e9005de97c8f72261369018ae02596ec /OpenSim
parentDon't warn on not seeing [Groups] Robust section for core groups as this does... (diff)
downloadopensim-SC-4a74c4533c80403a664a761dbc871e52e3e7788e.zip
opensim-SC-4a74c4533c80403a664a761dbc871e52e3e7788e.tar.gz
opensim-SC-4a74c4533c80403a664a761dbc871e52e3e7788e.tar.bz2
opensim-SC-4a74c4533c80403a664a761dbc871e52e3e7788e.tar.xz
minor: eliminate now unnecessary string.Format in postgresql RetrieveGroups method
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Data/PGSQL/PGSQLGroupsData.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/PGSQL/PGSQLGroupsData.cs b/OpenSim/Data/PGSQL/PGSQLGroupsData.cs
index 15c965b..669e3c8 100644
--- a/OpenSim/Data/PGSQL/PGSQLGroupsData.cs
+++ b/OpenSim/Data/PGSQL/PGSQLGroupsData.cs
@@ -89,7 +89,7 @@ namespace OpenSim.Data.PGSQL
89 } 89 }
90 else 90 else
91 { 91 {
92 pattern = string.Format(" lower(\"Name\") LIKE lower('%:pattern%') ORDER BY lower(\"Name\") LIMIT 100"); 92 pattern = " lower(\"Name\") LIKE lower('%:pattern%') ORDER BY lower(\"Name\") LIMIT 100";
93 return m_Groups.Get(pattern, new NpgsqlParameter("pattern", pattern)); 93 return m_Groups.Get(pattern, new NpgsqlParameter("pattern", pattern));
94 } 94 }
95 } 95 }