From a126225591c380408fc3683c8d3499ee55c3a660 Mon Sep 17 00:00:00 2001 From: selul Date: Wed, 26 Jun 2019 12:59:30 +0300 Subject: [PATCH] fix: remove soon to expire notice, fix https://github.com/Codeinwp/themeisle/issues/752 --- src/Modules/Licenser.php | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/Modules/Licenser.php b/src/Modules/Licenser.php index 6df76169..75cda6d7 100644 --- a/src/Modules/Licenser.php +++ b/src/Modules/Licenser.php @@ -169,7 +169,6 @@ function show_notice() { $status = $this->get_license_status(); $no_activations_string = apply_filters( $this->product->get_key() . '_lc_no_activations_string', 'No activations left for %s !!!. You need to upgrade your plan in order to use %s on more websites. Please ask the %s Staff for more details.' ); $no_valid_string = apply_filters( $this->product->get_key() . '_lc_no_valid_string', 'In order to benefit from updates and support for %s, please add your license code from your purchase history and validate it here. ' ); - $expiration_string = apply_filters( $this->product->get_key() . '_lc_expiration_string', 'Your license is about to expire for %s. You can go to %s and renew it ' ); // No activations left for this license. if ( 'valid' != $status && $this->check_activation() ) { @@ -203,26 +202,6 @@ function show_notice() { return false; } - // Expired and soon to expire license. - if ( 'valid' == $status && $this->check_expiration() ) { - ?> -
-

- - product->get_name() . ' ' . $this->product->get_type(), - '' . $this->get_distributor_name() . '' - ); - ?> - -

-
-