aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
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/Data
parentDon't warn on not seeing [Groups] Robust section for core groups as this does... (diff)
downloadopensim-SC_OLD-4a74c4533c80403a664a761dbc871e52e3e7788e.zip
opensim-SC_OLD-4a74c4533c80403a664a761dbc871e52e3e7788e.tar.gz
opensim-SC_OLD-4a74c4533c80403a664a761dbc871e52e3e7788e.tar.bz2
opensim-SC_OLD-4a74c4533c80403a664a761dbc871e52e3e7788e.tar.xz
minor: eliminate now unnecessary string.Format in postgresql RetrieveGroups method
Diffstat (limited to 'OpenSim/Data')
-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 }