Overview
Comment: | Fix vérification plugins installés |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA1: |
3c21c0fff53bdb54e22fe6ff88a4ab7c |
User & Date: | bohwaz on 2018-05-22 14:16:00 |
Other Links: | manifest | tags |
References
2020-12-08
| ||
23:25 | • Wiki page "Changelog/0.9" artifact: b9c916b4d1 user: bohwaz | |
Context
2018-05-22
| ||
14:19 | Version stable 0.8.4 check-in: d63dec38b5 user: bohwaz tags: trunk, stable, 0.8.4 | |
14:16 | Fix vérification plugins installés check-in: 3c21c0fff5 user: bohwaz tags: trunk, stable | |
14:11 | Corrige souci de namespace check-in: b8394efa7e user: bohwaz tags: trunk, stable | |
Changes
Modified src/include/lib/Garradin/Plugin.php from [03b418ff26] to [9c18ecf730].
︙ | ︙ | |||
354 355 356 357 358 359 360 | if (count($system) == 0) { return true; } $db = DB::getInstance(); | | | 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 | if (count($system) == 0) { return true; } $db = DB::getInstance(); $installed = $db->getAssoc('SELECT id, id FROM plugins WHERE ' . $db->where('id', 'IN', $system)); $missing = array_diff($system, (array) $installed); if (count($missing) == 0) { return true; } |
︙ | ︙ |