WordPress.org

Making WordPress.org

Changeset 3598


Ignore:
Timestamp:
06/26/2016 03:38:36 PM (2 years ago)
Author:
nacin
Message:

Trac Notifications: MySQL is no longer used for Core Trac.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-notifications.php

    r3170 r3598  
    3535        }
    3636
    37         if ( 'core' === $trac ) {
    38             $this->api = new Trac_Notifications_DB( $GLOBALS['wpdb'] );
    39         } else {
    40             $this->api = new Trac_Notifications_HTTP_Client( $this->trac_url() . '/wpapi', TRAC_NOTIFICATIONS_API_KEY );
    41         }
     37        $this->api = new Trac_Notifications_HTTP_Client( $this->trac_url() . '/wpapi', TRAC_NOTIFICATIONS_API_KEY );
    4238
    4339        if ( 'core' === $trac ) {
Note: See TracChangeset for help on using the changeset viewer.