diff --git a/includes/deactivate.php b/includes/deactivate.php index 4cfab4f..b6137ce 100644 --- a/includes/deactivate.php +++ b/includes/deactivate.php @@ -9,14 +9,6 @@ function fbr_deactivate_plugin(){ $fbr_opts = get_option( 'fbr_opts' ); if( $fbr_opts ){ - $opts = [ - 'fbr_app_id' => null, - 'fbr_app_secret' => null, - 'fbr_page_id' => null, - 'fbr_page_access_token' => null, - 'fbr_ratings' => array(), - ]; - - update_option( 'fbr_opts', $fbr_opts ); + delete_option( 'fbr_opts' ); } } \ No newline at end of file