From: Steve Sutton Date: Thu, 28 Mar 2019 12:53:07 +0000 (-0400) Subject: Update these to pull from ds5 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=806acebd10abfdedd0558ba8bc0b4a2db3e9e6a4;p=WP-Plugins%2Fglm-member-db-billing.git Update these to pull from ds5 Using ds5 to get live data --- diff --git a/models/admin/management/importAccounts.php b/models/admin/management/importAccounts.php index a03ae37..b0f0173 100644 --- a/models/admin/management/importAccounts.php +++ b/models/admin/management/importAccounts.php @@ -92,8 +92,8 @@ function addPaymentType( $wpdb, $data ) } // Connect to their live database. -// $dbConn = 'pgsql: host=ds5.gaslightmedia.com dbname=uptravel user=postgres'; -$dbConn = 'pgsql: dbname=uptravel user=postgres'; +$dbConn = 'pgsql: host=ds5 dbname=uptravel user=postgres'; +// $dbConn = 'pgsql: dbname=uptravel user=postgres'; $dbh = new PDO( $dbConn, null, diff --git a/models/admin/management/importBillingData.php b/models/admin/management/importBillingData.php index 87419b6..b6f9dc0 100644 --- a/models/admin/management/importBillingData.php +++ b/models/admin/management/importBillingData.php @@ -7,8 +7,8 @@ require_once GLM_MEMBERS_BILLING_PLUGIN_CLASS_PATH . '/billingSupport.php'; $BillingSupport = new GlmBillingSupport( $this->wpdb, $this->config ); $limit = 10; -// $dbConn = 'pgsql: host=ds5.gaslightmedia.com dbname=uptravel user=postgres'; -$dbConn = 'pgsql: dbname=uptravel user=postgres'; +$dbConn = 'pgsql: host=ds5 dbname=uptravel user=postgres'; +// $dbConn = 'pgsql: dbname=uptravel user=postgres'; // Connect to their live database. $dbh = new PDO( $dbConn, diff --git a/models/admin/management/verifyBillingData.php b/models/admin/management/verifyBillingData.php index 8b7607a..a1c1ee8 100644 --- a/models/admin/management/verifyBillingData.php +++ b/models/admin/management/verifyBillingData.php @@ -6,8 +6,8 @@ require_once GLM_MEMBERS_BILLING_PLUGIN_CLASS_PATH . '/billingSupport.php'; $BillingSupport = new GlmBillingSupport( $this->wpdb, $this->config ); // Connect to their live database. -// $dbConn = 'pgsql: host=ds5.gaslightmedia.com dbname=uptravel user=postgres'; -$dbConn = 'pgsql: dbname=uptravel user=postgres'; +$dbConn = 'pgsql: host=ds5 dbname=uptravel user=postgres'; +// $dbConn = 'pgsql: dbname=uptravel user=postgres'; $dbh = new PDO( $dbConn, null,