Skip to content

Commit

Permalink
Add constructor to make is_writable true for import impress-org#2744
Browse files Browse the repository at this point in the history
  • Loading branch information
raftaar1191 committed Jan 30, 2018
1 parent 8ee2f50 commit 00763ed
Show file tree
Hide file tree
Showing 9 changed files with 82 additions and 0 deletions.
Expand Up @@ -102,6 +102,15 @@ class Give_Tools_Import_Donors extends Give_Batch_Export {
*/
public $donor_ids = array();

/**
* Constructor.
*/
public function __construct() {
parent::__construct();

$this->is_writable = true;
}

/**
* Get the Export Data
*
Expand Down
Expand Up @@ -95,6 +95,15 @@ class Give_Tools_Delete_Donors extends Give_Batch_Export {
*/
public $donor_ids = array();

/**
* Constructor.
*/
public function __construct() {
parent::__construct();

$this->is_writable = true;
}

/**
* Get the Export Data
*
Expand Down
Expand Up @@ -43,6 +43,15 @@ class Give_Tools_Delete_Test_Transactions extends Give_Batch_Export {
*/
public $per_step = 30;

/**
* Constructor.
*/
public function __construct() {
parent::__construct();

$this->is_writable = true;
}

/**
* Get the Export Data
*
Expand Down
Expand Up @@ -70,6 +70,15 @@ class Give_Tools_Recount_All_Stats extends Give_Batch_Export {
*/
public $done = false;

/**
* Constructor.
*/
public function __construct() {
parent::__construct();

$this->is_writable = true;
}

/**
* Get the recount all stats data
*
Expand Down
Expand Up @@ -45,6 +45,15 @@ class Give_Tools_Recount_Donor_Stats extends Give_Batch_Export {
*/
public $per_step = 5;

/**
* Constructor.
*/
public function __construct() {
parent::__construct();

$this->is_writable = true;
}

/**
* Get the Export Data
*
Expand Down
Expand Up @@ -50,6 +50,15 @@ class Give_Tools_Recount_Form_Stats extends Give_Batch_Export {
*/
protected $form_id = null;

/**
* Constructor.
*/
public function __construct() {
parent::__construct();

$this->is_writable = true;
}

/**
* Get the Export Data
*
Expand Down
10 changes: 10 additions & 0 deletions includes/admin/tools/data/class-give-tools-recount-income.php
Expand Up @@ -43,6 +43,16 @@ class Give_Tools_Recount_Income extends Give_Batch_Export {
*/
public $per_step = 100;


/**
* Constructor.
*/
public function __construct() {
parent::__construct();

$this->is_writable = true;
}

/**
* Get the Export Data
*
Expand Down
Expand Up @@ -43,6 +43,15 @@ class Give_Tools_Recount_Single_Customer_Stats extends Give_Batch_Export {
*/
public $per_step = 10;

/**
* Constructor.
*/
public function __construct() {
parent::__construct();

$this->is_writable = true;
}

/**
* Get the Export Data
*
Expand Down
9 changes: 9 additions & 0 deletions includes/admin/tools/data/class-give-tools-reset-stats.php
Expand Up @@ -46,6 +46,15 @@ class Give_Tools_Reset_Stats extends Give_Batch_Export {
*/
public $per_step = 30;

/**
* Constructor.
*/
public function __construct() {
parent::__construct();

$this->is_writable = true;
}

/**
* Get the Export Data
*
Expand Down

0 comments on commit 00763ed

Please sign in to comment.