mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 07:10:29 -04:00
Move enums into their own namespace
This commit is contained in:
parent
c3c588cc1b
commit
be5574eaec
45 changed files with 164 additions and 154 deletions
|
@ -73,7 +73,7 @@ function InsertTransaction(string $transactionId): bool{
|
|||
values (utc_timestamp(),
|
||||
?,
|
||||
?)',
|
||||
[PaymentProcessorType::FracturedAtlas, $transactionId]);
|
||||
[Enums\PaymentProcessorType::FracturedAtlas, $transactionId]);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -69,9 +69,9 @@ try{
|
|||
$driver = FirefoxDriver::start($capabilities);
|
||||
|
||||
foreach($pendingPayments as $pendingPayment){
|
||||
$pendingPayment->Processor = PaymentProcessorType::from($pendingPayment->Processor);
|
||||
$pendingPayment->Processor = Enums\PaymentProcessorType::from($pendingPayment->Processor);
|
||||
switch($pendingPayment->Processor){
|
||||
case PaymentProcessorType::FracturedAtlas:
|
||||
case Enums\PaymentProcessorType::FracturedAtlas:
|
||||
$log->Write('Processing donation ' . $pendingPayment->TransactionId . ' ...');
|
||||
|
||||
if(Db::QueryBool('
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue