Plugin Directory

Changeset 2208086


Ignore:
Timestamp:
12/08/2019 05:00:17 PM (6 years ago)
Author:
igroykt
Message:

tagging 2.15

File:
1 edited

Legend:

Unmodified
Added
Removed
  • goauth/tags/2.15/goauth-admin.php

    r2188399 r2208086  
    235235    function __destruct()
    236236    {
    237         $this->update_default_role__premium_only();
    238        
    239         if ( get_option( 'goauth_recover_button_style' ) == 'on' ) {
    240             $this->recover_css__premium_only();
    241         } else {
    242             $this->save_button_style__premium_only();
    243         }
     237    if(ga_fs()->is__premium_only() && ga_fs()->is_paying()){
     238            $this->update_default_role__premium_only();
     239       
     240            if ( get_option( 'goauth_recover_button_style' ) == 'on' ) {
     241                    $this->recover_css__premium_only();
     242            } else {
     243                    $this->save_button_style__premium_only();
     244            }
     245    }
    244246   
    245247    }
Note: See TracChangeset for help on using the changeset viewer.