summaryrefslogtreecommitdiff
path: root/modules_v3/html
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2014-08-14 10:59:24 +0100
committerGreg Roach <fisharebest@gmail.com>2014-08-14 10:59:24 +0100
commit2b6ca1e6232ef9568f6b6e4015814a8e08235476 (patch)
treea18aff7e6a5ad694bf2fd49fa6a4613b1d23ee75 /modules_v3/html
parentb91ce4e162976f6e4d1c308524ea1bf460430bc8 (diff)
downloadwebtrees-2b6ca1e6232ef9568f6b6e4015814a8e08235476.tar.gz
webtrees-2b6ca1e6232ef9568f6b6e4015814a8e08235476.tar.bz2
webtrees-2b6ca1e6232ef9568f6b6e4015814a8e08235476.zip
Code without side-effects (see PSR-1) does not require guard headers
Diffstat (limited to 'modules_v3/html')
-rw-r--r--modules_v3/html/module.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules_v3/html/module.php b/modules_v3/html/module.php
index f57a8f01f8..f00779ddf5 100644
--- a/modules_v3/html/module.php
+++ b/modules_v3/html/module.php
@@ -21,11 +21,6 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-if (!defined('WT_WEBTREES')) {
- header('HTTP/1.0 403 Forbidden');
- exit;
-}
-
class html_WT_Module extends WT_Module implements WT_Module_Block {
// Extend class WT_Module
public function getTitle() {