1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

[feature/postgresql-fulltext-search] fix formatting

adds proper spaces after control keywords and comment symbol

PHPBB3-9730
This commit is contained in:
Dhruv Goel
2012-06-26 01:27:14 +05:30
parent dfbd32ce24
commit bc699f66cf
2 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ class phpbb_search_fulltext_postgres extends phpbb_search_base
{
$pgsql_version = explode(',', substr($db->sql_server_info(), 10));
$this->version = trim($pgsql_version[0]);
if(version_compare($this->version, '8.3', '>='))
if (version_compare($this->version, '8.3', '>='))
{
$this->tsearch_usable = true;
}
@@ -752,7 +752,7 @@ class phpbb_search_fulltext_postgres extends phpbb_search_base
{
global $db, $config;
if($db->sql_layer != 'postgres')
if ($db->sql_layer != 'postgres')
{
$this->stats = array();
return;