WordPress.org

Plugin Directory

Changeset 730017


Ignore:
Timestamp:
06/22/13 15:46:37 (10 months ago)
Author:
markjaquith
Message:

Declare our public static methods to be public and static

File:
1 edited

Legend:

Unmodified
Added
Removed
  • hotfix/trunk/hotfix.php

    r658307 r730017  
    1212 
    1313class WP_Hotfix_Controller { 
    14     function init() { 
     14    public static function init() { 
    1515        add_action( 'init', 'wp_hotfix_init' ); 
    1616        register_activation_hook(   __FILE__, array( __CLASS__, 'activate'   ) ); 
    1717        register_deactivation_hook( __FILE__, array( __CLASS__, 'deactivate' ) ); 
    1818    } 
    19     function activate() { 
     19    public static function activate() { 
    2020        add_option( 'hotfix_version', '1' ); 
    2121        register_uninstall_hook( __FILE__, array( __CLASS__, 'uninstall' ) ); 
    2222    } 
    23     function deactivate() { 
     23    public static function deactivate() { 
    2424        delete_option( 'hotfix_version' ); 
    2525    } 
    26     function uninstall() { 
     26    public static function uninstall() { 
    2727        self::deactivate(); // The same, for now 
    2828    } 
Note: See TracChangeset for help on using the changeset viewer.