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/log/log.php | 8 -------- phpBB/phpbb/log/log_interface.php | 8 -------- phpBB/phpbb/log/null.php | 8 -------- 3 files changed, 24 deletions(-) (limited to 'phpBB/phpbb/log') diff --git a/phpBB/phpbb/log/log.php b/phpBB/phpbb/log/log.php index 7f4e52ed39..a6ee06ebf2 100644 --- a/phpBB/phpbb/log/log.php +++ b/phpBB/phpbb/log/log.php @@ -9,14 +9,6 @@ namespace phpbb\log; -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - /** * This class is used to add entries into the log table. * diff --git a/phpBB/phpbb/log/log_interface.php b/phpBB/phpbb/log/log_interface.php index 427d30015d..420ba79691 100644 --- a/phpBB/phpbb/log/log_interface.php +++ b/phpBB/phpbb/log/log_interface.php @@ -9,14 +9,6 @@ namespace phpbb\log; -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - /** * The interface for the log-system. * diff --git a/phpBB/phpbb/log/null.php b/phpBB/phpbb/log/null.php index 2ef69926ee..77d0fbe2d7 100644 --- a/phpBB/phpbb/log/null.php +++ b/phpBB/phpbb/log/null.php @@ -9,14 +9,6 @@ namespace phpbb\log; -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - /** * Null logger * -- cgit v1.2.1