Skip to content

Commit

Permalink
class exists check was mistakenly checked with wrong class name
Browse files Browse the repository at this point in the history
  • Loading branch information
manchumahara committed Sep 25, 2019
1 parent 8d7c7bf commit 9eeb9a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cbxplgrestart.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
defined( 'CBXPLGRESTART_ROOT_PATH' ) or define( 'CBXPLGRESTART_ROOT_PATH', plugin_dir_path( __FILE__ ) );
defined( 'CBXPLGRESTART_ROOT_URL' ) or define( 'CBXPLGRESTART_ROOT_URL', plugin_dir_url( __FILE__ ) );

if(!class_exists('class_exists')){
if(!class_exists('CBXPluginRestart')){
/**
* Restart plugin class
*
Expand Down

0 comments on commit 9eeb9a3

Please sign in to comment.