source: spip-zone/_plugins_/relecture/relecture_administrations.php @ 60178

Last change on this file since 60178 was 60178, checked in by eric@…, 8 years ago

Page article presque terminée

  • Property svn:eol-style set to native
File size: 483 bytes
Line 
1<?php
2
3include_spip('base/create');
4
5function relecture_upgrade($nom_meta_base_version, $version_cible){
6
7        $maj = array();
8
9        $maj['create'][] = array('maj_tables', array('spip_relectures', 'spip_commentaires'));
10
11        include_spip('base/upgrade');
12        maj_plugin($nom_meta_base_version, $version_cible, $maj);
13}
14
15function relecture_vider_tables($nom_meta_base_version) {
16        sql_drop_table('spip_relectures');
17        sql_drop_table('spip_commentaires');
18        effacer_meta($nom_meta_base_version);
19}
20
21?>
Note: See TracBrowser for help on using the repository browser.