Commit b8aeff9c8854b1cf963cee18697fd653e1d42d50
1 parent
7ac209b3
add local config
Showing
1 changed file
with
8 additions
and
8 deletions
Show diff stats
src/lib/models/customers.php
... | ... | @@ -427,9 +427,9 @@ class customers extends \db |
427 | 427 | public function resetPasswd( $registration ) |
428 | 428 | { |
429 | 429 | $connection = $this->database; |
430 | - | |
431 | - try | |
432 | - { | |
430 | +// | |
431 | +// try | |
432 | +// { | |
433 | 433 | $connection->begin(); |
434 | 434 | |
435 | 435 | $data_customer_id = $this->get( |
... | ... | @@ -505,11 +505,11 @@ class customers extends \db |
505 | 505 | $connection->commit(); |
506 | 506 | |
507 | 507 | return $result; |
508 | - } | |
509 | - catch(\Exception $e) | |
510 | - { | |
511 | - $connection->rollback(); | |
512 | - } | |
508 | +// } | |
509 | +// catch(\Exception $e) | |
510 | +// { | |
511 | +// $connection->rollback(); | |
512 | +// } | |
513 | 513 | |
514 | 514 | return false; |
515 | 515 | } | ... | ... |