source: spip-zone/_squelettes_/ressourcotheque/trunk/ressourcotheque_administrations.php @ 112362

Last change on this file since 112362 was 112362, checked in by maieul@…, 7 months ago

un champ spécifique pour le guide de rédaction des ressources d'une rubrique

File size: 603 bytes
Line 
1<?php
2if (!defined("_ECRIRE_INC_VERSION")) return;
3
4include_spip('inc/cextras');
5include_spip('base/ressourcotheque');
6
7function ressourcotheque_upgrade($nom_meta_base_version,$version_cible) {
8
9  $maj = array();
10  cextras_api_upgrade(ressourcotheque_declarer_champs_extras(), $maj['create']);
11  cextras_api_upgrade(ressourcotheque_declarer_champs_extras(), $maj['0.5.0']);
12  include_spip('base/upgrade');
13  maj_plugin($nom_meta_base_version, $version_cible, $maj);
14
15}
16
17function ressourcotheque_vider_tables($nom_meta_base_version) {
18        include_spip('inc/meta');
19  effacer_meta($nom_meta_base_version);
20}
Note: See TracBrowser for help on using the repository browser.