Skip to content

Commit

Permalink
Merge pull request #457 from marc1706/ticket/456
Browse files Browse the repository at this point in the history
[ticket/456] Modify files for passing code sniffer
  • Loading branch information
marc1706 committed Feb 2, 2015
2 parents e6aca6a + f1ca2d8 commit 771fcfe
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 142 deletions.
1 change: 0 additions & 1 deletion controller/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ public function __construct($portal_columns, $config, $controller_helper, $templ

if (!function_exists('obtain_portal_config'))
{
include($this->includes_path . 'functions_modules' . $this->php_ext);
include($this->includes_path . 'functions' . $this->php_ext);
}
}
Expand Down
5 changes: 1 addition & 4 deletions includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,15 @@
*
*/

// @codingStandardsIgnoreStart

/**
* @ignore
* @codingStandardsIgnoreFile
*/
if (!defined('IN_PHPBB'))
{
exit;
}

// @codingStandardsIgnoreEnd

// Get portal config
function obtain_portal_config()
{
Expand Down
61 changes: 0 additions & 61 deletions includes/functions_modules.php

This file was deleted.

76 changes: 0 additions & 76 deletions tests/unit/functions/functions_modules_test.php

This file was deleted.

0 comments on commit 771fcfe

Please sign in to comment.