Version 5.0.0 beta 7
This commit is contained in:
1 parent
fa2a720105
commit
54d5dcd0a0
156 files changed
+4337
-2995
No files matched your search
@@ -436,12 +436,14 @@ abstract class Gateway extends Model
|
||||
Db::i()->delete( 'nexus_customer_cards', array( 'card_method=?', $this->id ) );
|
||||
Db::i()->delete( 'nexus_billing_agreements', array( 'ba_method=?', $this->id ) );
|
||||
|
||||
try
|
||||
if( $this->validationfile )
|
||||
{
|
||||
File::get( 'nexus_Gateways', $this->validationfile )->delete();
|
||||
try
|
||||
{
|
||||
File::get( 'nexus_Gateways', $this->validationfile )->delete();
|
||||
}
|
||||
catch( Exception ) { }
|
||||
}
|
||||
catch( Exception ) { }
|
||||
|
||||
|
||||
/* Delete */
|
||||
parent::delete();
|
||||
|
||||
Reference in new issue
Block a user