Skip to content

Commit 3b6acc4

Browse files
authored
Fix - Deactivate Licence button did nothing when the pro-activation transient was set (#1418)
1 parent 064dd7a commit 3b6acc4

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

includes/class-ur-plugin-updater.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -447,10 +447,6 @@ public function activate_license( $license_key ) {
447447
* Deactivate a license.
448448
*/
449449
public function deactivate_license() {
450-
if ( get_transient( 'user_registration_pro_activated' ) ) {
451-
return;
452-
}
453-
454450
$reset = UR_Updater_Key_API::deactivate(
455451
array(
456452
'license' => $this->api_key,

0 commit comments

Comments
 (0)