Skip to content

Commit

Permalink
Renamed admin customer files to donor #896
Browse files Browse the repository at this point in the history
  • Loading branch information
DevinWalker committed Jun 1, 2017
1 parent 422dd87 commit c467053
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions give.php
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,9 @@ private function includes() {
require_once GIVE_PLUGIN_DIR . 'includes/admin/payments/actions.php';
require_once GIVE_PLUGIN_DIR . 'includes/admin/payments/payments-history.php';

require_once GIVE_PLUGIN_DIR . 'includes/admin/customers/customers.php';
require_once GIVE_PLUGIN_DIR . 'includes/admin/customers/customer-functions.php';
require_once GIVE_PLUGIN_DIR . 'includes/admin/customers/customer-actions.php';
require_once GIVE_PLUGIN_DIR . 'includes/admin/donors/donors.php';
require_once GIVE_PLUGIN_DIR . 'includes/admin/donors/donor-functions.php';
require_once GIVE_PLUGIN_DIR . 'includes/admin/donors/donor-actions.php';

require_once GIVE_PLUGIN_DIR . 'includes/admin/forms/metabox.php';
require_once GIVE_PLUGIN_DIR . 'includes/admin/forms/class-metabox-form-data.php';
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function give_customer_tabs() {
* @return void
*/
function give_customers_list() {
include( dirname( __FILE__ ) . '/class-customer-table.php' );
include dirname( __FILE__ ) . '/class-donor-table.php';

$customers_table = new Give_Donor_Reports_Table();
$customers_table->prepare_items();
Expand Down
3 changes: 1 addition & 2 deletions includes/deprecated/deprecated-classes.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function __construct( $_id_or_email = false, $by_user_id = false ) {
}

$this->setup_customer( $donor );

}


Expand Down Expand Up @@ -254,7 +254,6 @@ public function __construct() {
*/
public function __call( $name, $arguments ) {


}

}
6 changes: 3 additions & 3 deletions tests/unit-tests/tests-give.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ public function test_includes() {
$this->assertFileExists( GIVE_PLUGIN_DIR . 'includes/admin/dashboard-widgets.php' );
$this->assertFileExists( GIVE_PLUGIN_DIR . 'includes/admin/payments/actions.php' );
$this->assertFileExists( GIVE_PLUGIN_DIR . 'includes/admin/payments/payments-history.php' );
$this->assertFileExists( GIVE_PLUGIN_DIR . 'includes/admin/customers/customers.php' );
$this->assertFileExists( GIVE_PLUGIN_DIR . 'includes/admin/customers/customer-functions.php' );
$this->assertFileExists( GIVE_PLUGIN_DIR . 'includes/admin/customers/customer-actions.php' );
$this->assertFileExists( GIVE_PLUGIN_DIR . 'includes/admin/donors/donors.php' );
$this->assertFileExists( GIVE_PLUGIN_DIR . 'includes/admin/donors/donor-functions.php' );
$this->assertFileExists( GIVE_PLUGIN_DIR . 'includes/admin/donors/donor-actions.php' );

$this->assertFileExists( GIVE_PLUGIN_DIR . 'includes/admin/forms/metabox.php' );
$this->assertFileExists( GIVE_PLUGIN_DIR . 'includes/admin/forms/dashboard-columns.php' );
Expand Down

0 comments on commit c467053

Please sign in to comment.