Changeset 6761 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-two-factor/providers/class-wporg-two-factor-slack.php
- Timestamp:
- 02/26/2018 12:26:40 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-two-factor/providers/class-wporg-two-factor-slack.php
r6760 r6761 5 5 class WPORG_Two_Factor_Slack extends WPORG_Two_Factor_Email { 6 6 7 /**8 * The user meta token key.9 *10 * @type string11 */12 7 const TOKEN_META_KEY = '_two_factor_slack_token'; 13 8 14 /** 15 * Ensures only one instance of this class exists in memory at any one time. 16 * 17 * @since 0.1-dev 18 */ 19 static function get_instance() { 9 public static function get_instance() { 20 10 static $instance; 21 $class = __CLASS__;22 if ( ! is_a( $instance, $class ) ) {11 if ( ! $instance ) { 12 $class = __CLASS__; 23 13 $instance = new $class; 24 14 }
Note: See TracChangeset
for help on using the changeset viewer.