mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/postgresql-fulltext-search] Fixed braces
Fixes braces in fulltext_postgres.php to comply with phpbb conventions. PHPBB3-9730
This commit is contained in:
parent
b1378f20af
commit
98bc7fa6ce
1 changed files with 8 additions and 6 deletions
|
@ -66,7 +66,8 @@ class fulltext_postgres extends search_backend
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!$this->tsearch_builtin) {
|
if (!$this->tsearch_builtin)
|
||||||
|
{
|
||||||
$db->sql_query("SELECT set_curcfg('" . $db->sql_escape($config['fulltext_postgres_ts_name']) . "')");
|
$db->sql_query("SELECT set_curcfg('" . $db->sql_escape($config['fulltext_postgres_ts_name']) . "')");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -86,7 +87,8 @@ class fulltext_postgres extends search_backend
|
||||||
return $user->lang['FULLTEXT_POSTGRES_INCOMPATIBLE_VERSION'];
|
return $user->lang['FULLTEXT_POSTGRES_INCOMPATIBLE_VERSION'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$this->tsearch_builtin) {
|
if (!$this->tsearch_builtin)
|
||||||
|
{
|
||||||
$sql = "SELECT c.relname
|
$sql = "SELECT c.relname
|
||||||
FROM pg_catalog.pg_class c
|
FROM pg_catalog.pg_class c
|
||||||
WHERE c.relkind = 'r'
|
WHERE c.relkind = 'r'
|
||||||
|
|
Loading…
Add table
Reference in a new issue