From 7aa8f6461f1e85cf91931f56b95384e54fec07c2 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Wed, 30 Oct 2013 13:05:28 +0100 Subject: [task/code-sniffer] Remove the IN_PHPBB check side-effect from class files. PHPBB3-11980 --- phpBB/phpbb/search/sphinx/config.php | 8 -------- phpBB/phpbb/search/sphinx/config_comment.php | 8 -------- phpBB/phpbb/search/sphinx/config_section.php | 8 -------- phpBB/phpbb/search/sphinx/config_variable.php | 8 -------- 4 files changed, 32 deletions(-) (limited to 'phpBB/phpbb/search/sphinx') diff --git a/phpBB/phpbb/search/sphinx/config.php b/phpBB/phpbb/search/sphinx/config.php index 262d6008cc..cb8e4524df 100644 --- a/phpBB/phpbb/search/sphinx/config.php +++ b/phpBB/phpbb/search/sphinx/config.php @@ -9,14 +9,6 @@ namespace phpbb\search\sphinx; -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - /** * \phpbb\search\sphinx\config * An object representing the sphinx configuration diff --git a/phpBB/phpbb/search/sphinx/config_comment.php b/phpBB/phpbb/search/sphinx/config_comment.php index 77a943377d..20b1c19af1 100644 --- a/phpBB/phpbb/search/sphinx/config_comment.php +++ b/phpBB/phpbb/search/sphinx/config_comment.php @@ -9,14 +9,6 @@ namespace phpbb\search\sphinx; -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - /** * \phpbb\search\sphinx\config_comment * Represents a comment inside the sphinx configuration diff --git a/phpBB/phpbb/search/sphinx/config_section.php b/phpBB/phpbb/search/sphinx/config_section.php index 730abf011e..8f9253ec56 100644 --- a/phpBB/phpbb/search/sphinx/config_section.php +++ b/phpBB/phpbb/search/sphinx/config_section.php @@ -9,14 +9,6 @@ namespace phpbb\search\sphinx; -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - /** * \phpbb\search\sphinx\config_section * Represents a single section inside the sphinx configuration diff --git a/phpBB/phpbb/search/sphinx/config_variable.php b/phpBB/phpbb/search/sphinx/config_variable.php index c8f40bfb5f..c0f6d28dcc 100644 --- a/phpBB/phpbb/search/sphinx/config_variable.php +++ b/phpBB/phpbb/search/sphinx/config_variable.php @@ -9,14 +9,6 @@ namespace phpbb\search\sphinx; -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - /** * \phpbb\search\sphinx\config_variable * Represents a single variable inside the sphinx configuration -- cgit v1.2.1