内核更新升级

This commit is contained in:
2016-06-27 17:49:19 +08:00
parent f9c34a87f1
commit 56fd9ee760
19 changed files with 563 additions and 584 deletions

View File

@@ -250,7 +250,7 @@ class Merge extends Model
return $result;
} catch (\Exception $e) {
$db->rollback();
return false;
throw $e;
}
}
@@ -283,9 +283,9 @@ class Merge extends Model
$this->trigger('after_delete', $this);
$db->commit();
return $result;
} catch (\PDOException $e) {
} catch (\Exception $e) {
$db->rollback();
return false;
throw $e;
}
}