You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 lines
452 B

<?php
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
function legendes_upgrade($nom_meta_base_version, $version_cible) {
$maj = [];
$maj['create'] = [
['maj_tables', ['spip_legendes']]
];
include_spip('base/upgrade');
maj_plugin($nom_meta_base_version, $version_cible, $maj);
}
function legendes_vider_tables($nom_meta_base_version) {
sql_drop_table('spip_legendes');
effacer_meta($nom_meta_base_version);
effacer_meta('legendes');
}