Skip to content

Commit

Permalink
Add constructor parameter impress-org#2744
Browse files Browse the repository at this point in the history
  • Loading branch information
raftaar1191 committed Jan 30, 2018
1 parent 00763ed commit 09df95e
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ class Give_Tools_Import_Donors extends Give_Batch_Export {
/**
* Constructor.
*/
public function __construct() {
parent::__construct();
public function __construct( $_step = 1 ) {
parent::__construct( $_step );

$this->is_writable = true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ class Give_Tools_Delete_Donors extends Give_Batch_Export {
/**
* Constructor.
*/
public function __construct() {
parent::__construct();
public function __construct( $_step = 1 ) {
parent::__construct( $_step );

$this->is_writable = true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ class Give_Tools_Delete_Test_Transactions extends Give_Batch_Export {
/**
* Constructor.
*/
public function __construct() {
parent::__construct();
public function __construct( $_step = 1 ) {
parent::__construct( $_step );

$this->is_writable = true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ class Give_Tools_Recount_All_Stats extends Give_Batch_Export {
/**
* Constructor.
*/
public function __construct() {
parent::__construct();
public function __construct( $_step = 1 ) {
parent::__construct( $_step );

$this->is_writable = true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ class Give_Tools_Recount_Donor_Stats extends Give_Batch_Export {
/**
* Constructor.
*/
public function __construct() {
parent::__construct();
public function __construct( $_step = 1 ) {
parent::__construct( $_step );

$this->is_writable = true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ class Give_Tools_Recount_Form_Stats extends Give_Batch_Export {
/**
* Constructor.
*/
public function __construct() {
parent::__construct();
public function __construct( $_step = 1 ) {
parent::__construct( $_step );

$this->is_writable = true;
}
Expand Down
6 changes: 2 additions & 4 deletions includes/admin/tools/data/class-give-tools-recount-income.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,14 @@ class Give_Tools_Recount_Income extends Give_Batch_Export {
*/
public $per_step = 100;


/**
* Constructor.
*/
public function __construct() {
parent::__construct();
public function __construct( $_step = 1 ) {
parent::__construct( $_step );

$this->is_writable = true;
}

/**
* Get the Export Data
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ class Give_Tools_Recount_Single_Customer_Stats extends Give_Batch_Export {
/**
* Constructor.
*/
public function __construct() {
parent::__construct();
public function __construct( $_step = 1 ) {
parent::__construct( $_step );

$this->is_writable = true;
}
Expand Down
4 changes: 2 additions & 2 deletions includes/admin/tools/data/class-give-tools-reset-stats.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ class Give_Tools_Reset_Stats extends Give_Batch_Export {
/**
* Constructor.
*/
public function __construct() {
parent::__construct();
public function __construct( $_step = 1 ) {
parent::__construct( $_step );

$this->is_writable = true;
}
Expand Down

0 comments on commit 09df95e

Please sign in to comment.