Plugin Directory

Changeset 1129921


Ignore:
Timestamp:
04/07/2015 09:35:38 PM (11 years ago)
Author:
twapaw
Message:

fixed: activation hook

Location:
opes-wp-ads-manager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • opes-wp-ads-manager/tags/1.1.0/inc/admin/controller/1-activation-Hook-ToLoad.php

    r1129909 r1129921  
    88        register_activation_hook( __WPADSMNGR_uwxl__THIS_PLUGIN__MAIN_FILE_, array( $this , 'installPlugin' ) );
    99        register_deactivation_hook( __WPADSMNGR_uwxl__THIS_PLUGIN__MAIN_FILE_, array( $this , 'uninstallPlugin' ) );
    10 
     10/*
    1111        global $pagenow;
    1212
     
    1818            add_action( $hook, array( $this , 'updateMessage' ) , 20, 2 );
    1919        }
     20*/
    2021    }
    2122   
     
    3334        do_action( $_WPADSMNGR_uwxl__InitData->plugin_short_slug . '_uninstall_plugin_action' );
    3435    }
    35 
     36/*
    3637    public function updateMessage( $plugin_data, $r )
    3738    {
     
    6162        echo $output;
    6263    }
     64*/
    6365}
    6466
  • opes-wp-ads-manager/trunk/inc/admin/controller/1-activation-Hook-ToLoad.php

    r1129909 r1129921  
    88        register_activation_hook( __WPADSMNGR_uwxl__THIS_PLUGIN__MAIN_FILE_, array( $this , 'installPlugin' ) );
    99        register_deactivation_hook( __WPADSMNGR_uwxl__THIS_PLUGIN__MAIN_FILE_, array( $this , 'uninstallPlugin' ) );
    10 
     10/*
    1111        global $pagenow;
    1212
     
    1818            add_action( $hook, array( $this , 'updateMessage' ) , 20, 2 );
    1919        }
     20*/
    2021    }
    2122   
     
    3334        do_action( $_WPADSMNGR_uwxl__InitData->plugin_short_slug . '_uninstall_plugin_action' );
    3435    }
    35 
     36/*
    3637    public function updateMessage( $plugin_data, $r )
    3738    {
     
    6162        echo $output;
    6263    }
     64*/
    6365}
    6466
Note: See TracChangeset for help on using the changeset viewer.