Overview
Comment:Réinstalle / met à jour les plugins si nécessaire après mise à jour de Garradin
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: f38e28c8572ac632144a097d2271c9a5356424a2
User & Date: bohwaz on 2018-08-18 13:38:16
Other Links: branch diff | manifest | tags
Context
2018-08-18
13:38
Met à jour les infos du plugin et notamment menu_condition lors de la mise à jour du plugin check-in: 883448f7b5 user: bohwaz tags: dev
13:38
Réinstalle / met à jour les plugins si nécessaire après mise à jour de Garradin check-in: f38e28c857 user: bohwaz tags: dev
13:12
Fix typos check-in: 65f7b258f5 user: bohwaz tags: dev
Changes

Modified src/www/admin/upgrade.php from [aabbe0eeed] to [9150b46456].

343
344
345
346
347
348
349














350
351
352
353
354
355
356
}

Utils::clearCaches();

$config->setVersion(garradin_version());

Static_Cache::remove('upgrade');















echo '<h2>Mise à jour terminée.</h2>
<p><a href="'.ADMIN_URL.'">Retour</a></p>';

if ($redirect)
{
    echo '







>
>
>
>
>
>
>
>
>
>
>
>
>
>







343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
}

Utils::clearCaches();

$config->setVersion(garradin_version());

Static_Cache::remove('upgrade');

Plugin::checkAndInstallSystemPlugins();

foreach (Plugin::listInstalled() as $id=>$infos)
{
    $plugin = new Plugin($id);

    if ($plugin->needUpgrade())
    {
        $plugin->upgrade();
    }

    unset($plugin);
}

echo '<h2>Mise à jour terminée.</h2>
<p><a href="'.ADMIN_URL.'">Retour</a></p>';

if ($redirect)
{
    echo '