| Conditions | 6 |
| Paths | 16 |
| Total Lines | 15 |
| Lines | 4 |
| Ratio | 26.67 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | function __construct() { |
||
| 20 | |||
| 21 | $this->in_jetpack = ( class_exists( 'Jetpack' ) && method_exists( 'Jetpack', 'enable_module_configurable' ) ) ? true : false; |
||
| 22 | |||
| 23 | // investigate what this for |
||
| 24 | View Code Duplication | if ( $this->in_jetpack && method_exists( 'Jetpack', 'module_configuration_load' ) ) { |
|
| 25 | Jetpack::enable_module_configurable( __FILE__ ); |
||
| 26 | Jetpack::module_configuration_load( __FILE__, array( $this, 'jetpack_configuration_load' ) ); |
||
| 27 | } |
||
| 28 | |||
| 29 | if ( $this->in_jetpack ) { |
||
| 30 | require_once dirname( __FILE__ ) . '/keyring/keyring-jetpack.php'; |
||
| 31 | } |
||
| 32 | |||
| 33 | } |
||
| 34 | } |
||
| 38 |
This check looks
TODOcomments that have been left in the code.``TODO``s show that something is left unfinished and should be attended to.