2006-07-24 01:08:06 +04:00
|
|
|
<?php
|
|
|
|
try {
|
2006-08-22 02:51:27 +04:00
|
|
|
$conn->beginTransaction();
|
2006-07-24 01:08:06 +04:00
|
|
|
|
|
|
|
$user->save();
|
|
|
|
|
2006-08-22 02:51:27 +04:00
|
|
|
$conn->beginTransaction();
|
2006-07-24 01:08:06 +04:00
|
|
|
$group->save();
|
|
|
|
$email->save();
|
|
|
|
|
2006-08-22 02:51:27 +04:00
|
|
|
$conn->commit();
|
2006-07-24 01:08:06 +04:00
|
|
|
|
2006-08-22 02:51:27 +04:00
|
|
|
$conn->commit();
|
2006-07-24 01:08:06 +04:00
|
|
|
} catch(Exception $e) {
|
2006-08-22 02:51:27 +04:00
|
|
|
$conn->rollback();
|
2006-07-24 01:08:06 +04:00
|
|
|
}
|
|
|
|
?>
|