diff options
author | Justin Clark-Casey (justincc) | 2014-05-15 22:51:47 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-05-15 22:51:47 +0100 |
commit | 4a74c4533c80403a664a761dbc871e52e3e7788e (patch) | |
tree | 88676020e9005de97c8f72261369018ae02596ec | |
parent | Don't warn on not seeing [Groups] Robust section for core groups as this does... (diff) | |
download | opensim-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
-rw-r--r-- | OpenSim/Data/PGSQL/PGSQLGroupsData.cs | 2 |
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 | } |