aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2013-10-30 13:05:28 +0100
committerAndreas Fischer <bantu@phpbb.com>2013-10-30 13:05:28 +0100
commit7aa8f6461f1e85cf91931f56b95384e54fec07c2 (patch)
tree4f2b5f2741da82f1e318b0d5599dbd2e4e2ea3b3 /phpBB/phpbb/config
parent[task/code-sniffer] Add PSR1.Files.SideEffects.FoundWithSymbols (diff)
downloadphpbb-7aa8f6461f1e85cf91931f56b95384e54fec07c2.tar.gz
phpbb-7aa8f6461f1e85cf91931f56b95384e54fec07c2.tar.bz2
phpbb-7aa8f6461f1e85cf91931f56b95384e54fec07c2.zip
[task/code-sniffer] Remove the IN_PHPBB check side-effect from class files.
PHPBB3-11980
Diffstat (limited to 'phpBB/phpbb/config')
-rw-r--r--phpBB/phpbb/config/config.php8
-rw-r--r--phpBB/phpbb/config/db.php8
-rw-r--r--phpBB/phpbb/config/db_text.php8
3 files changed, 0 insertions, 24 deletions
diff --git a/phpBB/phpbb/config/config.php b/phpBB/phpbb/config/config.php
index dc865df707..d37922acf1 100644
--- a/phpBB/phpbb/config/config.php
+++ b/phpBB/phpbb/config/config.php
@@ -10,14 +10,6 @@
namespace phpbb\config;
/**
-* @ignore
-*/
-if (!defined('IN_PHPBB'))
-{
- exit;
-}
-
-/**
* Configuration container class
* @package phpBB3
*/
diff --git a/phpBB/phpbb/config/db.php b/phpBB/phpbb/config/db.php
index 0a490af14f..c1a3630a14 100644
--- a/phpBB/phpbb/config/db.php
+++ b/phpBB/phpbb/config/db.php
@@ -10,14 +10,6 @@
namespace phpbb\config;
/**
-* @ignore
-*/
-if (!defined('IN_PHPBB'))
-{
- exit;
-}
-
-/**
* Configuration container class
* @package phpBB3
*/
diff --git a/phpBB/phpbb/config/db_text.php b/phpBB/phpbb/config/db_text.php
index 3ee3351e19..b1ea112b53 100644
--- a/phpBB/phpbb/config/db_text.php
+++ b/phpBB/phpbb/config/db_text.php
@@ -10,14 +10,6 @@
namespace phpbb\config;
/**
-* @ignore
-*/
-if (!defined('IN_PHPBB'))
-{
- exit;
-}
-
-/**
* Manages configuration options with an arbitrary length value stored in a TEXT
* column. In constrast to class \phpbb\config\db, values are never cached and
* prefetched, but every get operation sends a query to the database.