aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acm
diff options
context:
space:
mode:
authorEric <eric@maltoya.org>2011-03-30 17:55:53 +0800
committerIgor Wiedler <igor@wiedler.ch>2011-03-31 20:16:53 +0200
commitddda094d3abd2e5971c77cc38993eefa3d0bdf3a (patch)
tree8738d1de5f2924f1aaf71c6c2e9ac46c41bd93ef /phpBB/includes/acm
parent9891f5a8d2025aeec19c6b33de0d1a48dd92d211 (diff)
downloadforums-ddda094d3abd2e5971c77cc38993eefa3d0bdf3a.tar
forums-ddda094d3abd2e5971c77cc38993eefa3d0bdf3a.tar.gz
forums-ddda094d3abd2e5971c77cc38993eefa3d0bdf3a.tar.bz2
forums-ddda094d3abd2e5971c77cc38993eefa3d0bdf3a.tar.xz
forums-ddda094d3abd2e5971c77cc38993eefa3d0bdf3a.zip
[ticket/10110] Remove tab from empty lines
PHPBB3-10110
Diffstat (limited to 'phpBB/includes/acm')
-rw-r--r--phpBB/includes/acm/acm_redis.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/includes/acm/acm_redis.php b/phpBB/includes/acm/acm_redis.php
index 1c2b9c0c2f..8954b9d0e7 100644
--- a/phpBB/includes/acm/acm_redis.php
+++ b/phpBB/includes/acm/acm_redis.php
@@ -48,7 +48,7 @@ if (!defined('PHPBB_ACM_REDIS'))
class acm extends acm_memory
{
var $extension = 'redis';
-
+
var $redis;
function acm()
@@ -62,26 +62,26 @@ class acm extends acm_memory
$parts = explode('/', $server);
$this->redis->connect(trim($parts[0]), trim($parts[1]));
}
-
+
if (defined('PHPBB_ACM_REDIS_PASSWORD'))
{
if (!$this->redis->auth(PHPBB_ACM_REDIS_PASSWORD))
{
global $acm_type;
-
+
trigger_error("Incorrect password for the ACM module $acm_type.", E_USER_ERROR);
}
}
-
+
$this->redis->setOption(Redis::OPT_SERIALIZER, Redis::SERIALIZER_PHP);
$this->redis->setOption(Redis::OPT_PREFIX, $this->key_prefix);
-
+
if (defined('PHPBB_ACM_REDIS_DB'))
{
if (!$this->redis->select(PHPBB_ACM_REDIS_DB))
{
global $acm_type;
-
+
trigger_error("Incorrect database for the ACM module $acm_type.", E_USER_ERROR);
}
}