[SPIP] ~2.1.12 -->2.1.25
[velocampus/web/www.git] / www / ecrire / maj / v011.php
1 <?php
2
3 /***************************************************************************\
4 * SPIP, Systeme de publication pour l'internet *
5 * *
6 * Copyright (c) 2001-2014 *
7 * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
8 * *
9 * Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
10 * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. *
11 \***************************************************************************/
12
13 if (!defined('_ECRIRE_INC_VERSION')) return;
14
15
16 function maj_v011_dist($version_installee, $version_cible)
17 {
18
19 if (upgrade_vers(1.1, $version_installee, $version_cible)) {
20 spip_query("DROP TABLE spip_petition");
21 spip_query("DROP TABLE spip_signatures_petition");
22 maj_version (1.1);
23 }
24 }
25
26
27 ?>