|
@@ 458-465 (lines=8) @@
|
| 455 |
|
} else { |
| 456 |
|
// its not an update. maybe a reactivation? |
| 457 |
|
if( get_option( $activation_indicator_option_name, FALSE ) ){ |
| 458 |
|
if ( $version_is_higher === -1 ){ |
| 459 |
|
$req_type = EE_System::req_type_downgrade; |
| 460 |
|
}elseif( $version_is_higher === 0 ){ |
| 461 |
|
//we've seen this version before, but it's an activation. must be a reactivation |
| 462 |
|
$req_type = EE_System::req_type_reactivation; |
| 463 |
|
}else{//$version_is_higher === 1 |
| 464 |
|
$req_type = EE_System::req_type_upgrade; |
| 465 |
|
} |
| 466 |
|
delete_option( $activation_indicator_option_name ); |
| 467 |
|
} else { |
| 468 |
|
//we've seen this version before and the activation indicate doesn't show it was just activated |
|
@@ 467-477 (lines=11) @@
|
| 464 |
|
$req_type = EE_System::req_type_upgrade; |
| 465 |
|
} |
| 466 |
|
delete_option( $activation_indicator_option_name ); |
| 467 |
|
} else { |
| 468 |
|
//we've seen this version before and the activation indicate doesn't show it was just activated |
| 469 |
|
if ( $version_is_higher === -1 ){ |
| 470 |
|
$req_type = EE_System::req_type_downgrade; |
| 471 |
|
}elseif( $version_is_higher === 0 ){ |
| 472 |
|
//we've seen this version before and it's not an activation. its normal request |
| 473 |
|
$req_type = EE_System::req_type_normal; |
| 474 |
|
}else{//$version_is_higher === 1 |
| 475 |
|
$req_type = EE_System::req_type_upgrade; |
| 476 |
|
} |
| 477 |
|
} |
| 478 |
|
} |
| 479 |
|
} else { |
| 480 |
|
//brand new install |