mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 21:38:54 +00:00
[ticket/13930] Add missing spaces to code
PHPBB3-13930
This commit is contained in:
parent
6687b7e9ab
commit
9203bf3141
4 changed files with 4 additions and 4 deletions
2
phpBB/phpbb/cache/driver/memcache.php
vendored
2
phpBB/phpbb/cache/driver/memcache.php
vendored
|
@ -50,7 +50,7 @@ class memcache extends \phpbb\cache\driver\memory
|
|||
parent::__construct();
|
||||
|
||||
$this->memcache = new \Memcache;
|
||||
foreach(explode(',', PHPBB_ACM_MEMCACHE) as $u)
|
||||
foreach (explode(',', PHPBB_ACM_MEMCACHE) as $u)
|
||||
{
|
||||
$parts = explode('/', $u);
|
||||
$this->memcache->addServer(trim($parts[0]), trim($parts[1]));
|
||||
|
|
|
@ -350,7 +350,7 @@ class qa
|
|||
),
|
||||
);
|
||||
|
||||
foreach($schemas as $table => $schema)
|
||||
foreach ($schemas as $table => $schema)
|
||||
{
|
||||
if (!$db_tool->sql_table_exists($table))
|
||||
{
|
||||
|
|
|
@ -535,7 +535,7 @@ class log implements \phpbb\log\log_interface
|
|||
'ORDER_BY' => $sort_by,
|
||||
);
|
||||
|
||||
if($log_time)
|
||||
if ($log_time)
|
||||
{
|
||||
$get_logs_sql_ary['WHERE'] = 'l.log_time >= ' . (int) $log_time . '
|
||||
AND ' . $get_logs_sql_ary['WHERE'];
|
||||
|
|
|
@ -138,7 +138,7 @@ class fulltext_sphinx
|
|||
// Initialize \phpbb\db\tools object
|
||||
$this->db_tools = new \phpbb\db\tools($this->db);
|
||||
|
||||
if(!$this->config['fulltext_sphinx_id'])
|
||||
if (!$this->config['fulltext_sphinx_id'])
|
||||
{
|
||||
set_config('fulltext_sphinx_id', unique_id());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue