]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Don't write History for link import 992/head
authorArthurHoaro <arthur@hoa.ro>
Sat, 7 Oct 2017 14:40:16 +0000 (16:40 +0200)
committerArthurHoaro <arthur@hoa.ro>
Sat, 7 Oct 2017 14:40:16 +0000 (16:40 +0200)
commit66e74d50d38a6fea8fc904a1746157633de7cc65
treead19443a85975b017cabb159b2d3a56732cd1164
parent78865393a687a4c057109fa51f22934ad078d482
Don't write History for link import

With large imports it has a large impact on performances and isn't really useful.

Instead, write an IMPORT event, which let client using the history service resync its DB.

-> 15k link import done in 6 seconds.

Fixes #985
application/History.php
application/NetscapeBookmarkUtils.php
tests/NetscapeBookmarkUtils/BookmarkImportTest.php