227
228
229
230
231
232
233
234
235
236
237
238
239
240
|
'id_auteur' => null,
'contenu' => $content,
'modification' => 'Mise à jour 0.7.0 (transformation SPIP vers SkrivML)',
]);
}
}
$db->exec('END;');
}
Utils::clearCaches();
$config->setVersion(garradin_version());
|
>
>
>
>
>
>
>
>
>
>
|
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
|
'id_auteur' => null,
'contenu' => $content,
'modification' => 'Mise à jour 0.7.0 (transformation SPIP vers SkrivML)',
]);
}
}
$db->exec('END;');
}
if (version_compare($v, '0.7.2', '<'))
{
$db->exec('PRAGMA foreign_keys = OFF; BEGIN;');
// Mise à jour base de données
$db->exec(file_get_contents(ROOT . '/include/data/0.7.2.sql'));
$db->exec('END;');
}
Utils::clearCaches();
$config->setVersion(garradin_version());
|