Overview
Comment: | Don't enforce quota during update |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA3-256: |
15aaa959491f14437df4b234f99829ea |
User & Date: | bohwaz on 2023-02-26 00:47:55 |
Other Links: | manifest | tags |
Context
2023-02-26
| ||
00:50 | Make sure assisted reconciliation lines have a date, or ignore check-in: 8532ea8a40 user: bohwaz tags: trunk | |
00:47 | Don't enforce quota during update check-in: 15aaa95949 user: bohwaz tags: trunk, stable | |
00:38 | Bump version check-in: 1347b15c00 user: bohwaz tags: trunk, stable, 1.2.7 | |
Changes
Modified src/include/migrations/1.2/1.2.7.php from [36e2a13943] to [e21716aa34].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | <?php use Garradin\Web\Web; // Refresh pages Web::sync(true); $pages = $db->iterate('SELECT * FROM web_pages;'); foreach ($pages as $data) { $page = new \Garradin\Entities\Web\Page; $page->exists(true); $page->load((array) $data); // Add type and modified date to each TXT file $page->syncFile(); // Sync search $page->syncSearch(); } | > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | <?php use Garradin\Web\Web; use Garradin\Files\Files; // Refresh pages Web::sync(true); $pages = $db->iterate('SELECT * FROM web_pages;'); Files::disableQuota(); foreach ($pages as $data) { $page = new \Garradin\Entities\Web\Page; $page->exists(true); $page->load((array) $data); // Add type and modified date to each TXT file $page->syncFile(); // Sync search $page->syncSearch(); } Files::enableQuota(); |