From 4a74c4533c80403a664a761dbc871e52e3e7788e Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Thu, 15 May 2014 22:51:47 +0100 Subject: [PATCH] minor: eliminate now unnecessary string.Format in postgresql RetrieveGroups method --- OpenSim/Data/PGSQL/PGSQLGroupsData.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Data/PGSQL/PGSQLGroupsData.cs b/OpenSim/Data/PGSQL/PGSQLGroupsData.cs index 15c965ba02..669e3c8174 100644 --- a/OpenSim/Data/PGSQL/PGSQLGroupsData.cs +++ b/OpenSim/Data/PGSQL/PGSQLGroupsData.cs @@ -89,7 +89,7 @@ namespace OpenSim.Data.PGSQL } else { - pattern = string.Format(" lower(\"Name\") LIKE lower('%:pattern%') ORDER BY lower(\"Name\") LIMIT 100"); + pattern = " lower(\"Name\") LIKE lower('%:pattern%') ORDER BY lower(\"Name\") LIMIT 100"; return m_Groups.Get(pattern, new NpgsqlParameter("pattern", pattern)); } }