diff options
author | Florian Pritz <bluewind@xinu.at> | 2018-07-18 19:39:40 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-07-18 19:39:40 +0200 |
commit | 95e600519a98e593540e6ed41570e4915dba862a (patch) | |
tree | e16569ea850be96355326deffa68d8ffc75b1423 /scripts/r.js | |
parent | fdc375e9c503e9cb7bdb4754ad5cc9edc64e0220 (diff) |
Use transaction when adding file
This helps when the upload_path is not writable. Without the transaction
we get stale records in the db that then cause errors because the file
can't be found.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'scripts/r.js')
0 files changed, 0 insertions, 0 deletions