Overview
Comment:Fix for next version, add trigger if missing
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA3-256: 07751dc712375852ff020d0cc0e846d5e386e6862b4b68989d7adbd992128c18
User & Date: bohwaz on 2021-05-26 19:47:58
Other Links: manifest | tags
Context
2021-05-26
20:01
Add zip download button check-in: d8a1ce4e8a user: bohwaz tags: trunk, stable
19:47
Fix for next version, add trigger if missing check-in: 07751dc712 user: bohwaz tags: trunk, stable
19:46
Feature: download directory as a ZIP file check-in: 6ec3c3489c user: bohwaz tags: trunk, stable
Changes

Modified src/include/lib/Garradin/Upgrade.php from [5bb005e6e9] to [522a92b2cc].

276
277
278
279
280
281
282







283
284
285
286
287
288
289
				$config->set('admin_background', $file ? Config::DEFAULT_FILES['admin_background'] : null);

				$file = Files::get(Config::DEFAULT_FILES['admin_homepage']);
				$config->set('admin_homepage', $file ? Config::DEFAULT_FILES['admin_homepage'] : null);

				$config->save();
			}








			// Vérification de la cohérence des clés étrangères
			$db->foreignKeyCheck();

			// Delete local cached files
			Utils::resetCache(USER_TEMPLATES_CACHE_ROOT);
			Utils::resetCache(STATIC_CACHE_ROOT);







>
>
>
>
>
>
>







276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
				$config->set('admin_background', $file ? Config::DEFAULT_FILES['admin_background'] : null);

				$file = Files::get(Config::DEFAULT_FILES['admin_homepage']);
				$config->set('admin_homepage', $file ? Config::DEFAULT_FILES['admin_homepage'] : null);

				$config->save();
			}

			if (version_compare($v, '1.1.7', '<')) {
				// Missing trigger, again, because of missing symlink
				$db->begin();
				$db->import(ROOT . '/include/data/1.1.3_migration.sql');
				$db->commit();
			}

			// Vérification de la cohérence des clés étrangères
			$db->foreignKeyCheck();

			// Delete local cached files
			Utils::resetCache(USER_TEMPLATES_CACHE_ROOT);
			Utils::resetCache(STATIC_CACHE_ROOT);