Overview
Comment: | Fix list of users files |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA3-256: |
ffe1ddab4e2464e0c5726c7dc61e781c |
User & Date: | bohwaz on 2021-05-17 23:29:53 |
Other Links: | manifest | tags |
Context
2021-05-19
| ||
19:11 | Change IRC server check-in: 47c163e9c7 user: bohwaz tags: trunk | |
2021-05-17
| ||
23:29 | Fix list of users files check-in: ffe1ddab4e user: bohwaz tags: trunk, stable | |
2021-05-10
| ||
15:35 | In trial balance, always return accounts where closing sum is zero check-in: 334d67dcae user: bohwaz tags: trunk, stable | |
Changes
Modified src/include/lib/Garradin/Files/Files.php from [c7cc1da4fa] to [e363fc53f4].
︙ | ︙ | |||
287 288 289 290 291 292 293 | return; } $db = DB::getInstance(); $db->begin(); $db->exec('CREATE TEMP TABLE IF NOT EXISTS tmp_files AS SELECT * FROM files WHERE 0;'); | | | 287 288 289 290 291 292 293 294 295 296 297 298 299 300 | return; } $db = DB::getInstance(); $db->begin(); $db->exec('CREATE TEMP TABLE IF NOT EXISTS tmp_files AS SELECT * FROM files WHERE 0;'); foreach (Files::list($parent) as $file) { $db->insert('tmp_files', $file->asArray(true)); } $db->commit(); } } |