Skip to content

Commit 5080c19

Browse files
authored
Merge pull request #292 from newfold-labs/enhance/refactoring_cache_class
cleaning up
2 parents 336cc63 + 986463e commit 5080c19

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

includes/Cache/Cache.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,22 +38,14 @@ public function __construct( Container $container ) {
3838

3939
$this->hooks();
4040

41-
add_action( 'plugins_loaded', array( $this, 'hooks2' ) );
42-
4341
add_filter( 'newfold-runtime', array( $this, 'add_to_runtime' ), 100 );
4442
}
4543

4644
/**
4745
* Add hooks.
4846
*/
4947
public function hooks() {
50-
5148
add_action( 'after_mod_rewrite_rules', array( $this, 'on_rewrite' ) );
52-
53-
add_action( 'newfold_container_set', array( $this, 'plugin_hooks' ) );
54-
add_action( 'plugins_loaded', array( $this, 'hooks' ) );
55-
56-
add_action( 'newfold_container_set', array( $this, 'plugin_hooks' ) );
5749
}
5850

5951
/**

0 commit comments

Comments
 (0)