source: spip-zone/_plugins_/abomailmans/trunk/abomailmans_administrations.php @ 59377

Last change on this file since 59377 was 59256, checked in by kent1@…, 8 years ago

report de http://zone.spip.org/trac/spip-zone/changeset/59099/_plugins_/abomailmans/branches/v1

File size: 781 bytes
Line 
1<?php
2
3if (!defined("_ECRIRE_INC_VERSION")) return;
4
5function abomailmans_upgrade($nom_meta_base_version,$version_cible){
6       
7        $maj = array();
8       
9        $maj['create'] = array(
10                array('creer_base'),
11        );
12        $maj['0.30'] = array('maj_tables',array('spip_abomailmans'));
13        $maj['0.31'] = array('maj_tables',array('spip_abomailmans'));
14        $maj['0.32'] = array('maj_tables',array('spip_abomailmans'));
15        $maj['0.33'] = array('maj_tables',array('spip_abomailmans'));
16        $maj['0.34'] = array('maj_tables',array('spip_abomailmans'));
17
18        include_spip('base/upgrade');
19        maj_plugin($nom_meta_base_version, $version_cible, $maj);
20}
21
22function abomailmans_vider_tables($nom_meta_base_version) {
23        include_spip('base/abstract_sql');
24        sql_drop_table("spip_abomailmans");
25        effacer_meta($nom_meta_base_version);
26}
27
28?>
Note: See TracBrowser for help on using the repository browser.