Skip to content

Commit

Permalink
Version info
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwire committed Jul 28, 2019
1 parent 8f70f2e commit 421291d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions CRM/Civigiftaid/Upgrader.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<?php

use CRM_Civigiftaid_ExtensionUtil as E;

/**
* Collection of upgrade steps
* Collection of upgrade steps.
*/
class CRM_Civigiftaid_Upgrader extends CRM_Civigiftaid_Upgrader_Base {

Expand All @@ -19,12 +18,12 @@ class CRM_Civigiftaid_Upgrader extends CRM_Civigiftaid_Upgrader_Base {
public function install() {
//only for vesion 1.0 to 2.1
//To remove the future
self::removeLegacyRegisteredReport();
self::migrateOneToTwo($this);
//end step for upgrading version 1.0 t0 2.1

$this->upgrade_3000();
$this->upgrade_3101();
$this->upgrade_3103();
}

/**
Expand Down Expand Up @@ -118,8 +117,7 @@ public function upgrade_3000() {
/*
* Set up Past Year Submissions Job
*/
public function upgrade_3101()
{
public function upgrade_3101() {
$this->log('Applying update 3101 - Add past year submissions job');

$existing = civicrm_api3('Job', 'get', [
Expand Down
2 changes: 1 addition & 1 deletion civigiftaid.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function civigiftaid_civicrm_disable() {
* for 'enqueue', returns void
*/
function civigiftaid_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
_civigiftaid_civix_civicrm_upgrade($op, $queue);
return _civigiftaid_civix_civicrm_upgrade($op, $queue);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
<author>MJW Consulting, Erawat Chamanont, Jamie Novick, Guanhuan Chen, Robin Mitra</author>
<email>[email protected], [email protected], [email protected]</email>
</maintainer>
<releaseDate>2019-06-04</releaseDate>
<releaseDate>2019-07-28</releaseDate>
<version>3.1</version>
<develStage>stable</develStage>
<develStage>beta</develStage>
<compatibility>
<ver>5.13</ver>
</compatibility>
Expand Down

0 comments on commit 421291d

Please sign in to comment.