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.
20 lines
487 B
20 lines
487 B
<?php |
|
|
|
if (!defined('_ECRIRE_INC_VERSION')) return; |
|
|
|
function legendes_upgrade($nom_meta_base_version, $version_cible) { |
|
$maj = array(); |
|
|
|
$maj['create'] = array( |
|
array('maj_tables', array('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'); |
|
}
|
|
|