minor: eliminate now unnecessary string.Format in postgresql RetrieveGroups method

bullet-2.82
Justin Clark-Casey (justincc) 2014-05-15 22:51:47 +01:00
parent d2c738fc09
commit 4a74c4533c
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ namespace OpenSim.Data.PGSQL
} }
else 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)); return m_Groups.Get(pattern, new NpgsqlParameter("pattern", pattern));
} }
} }