[SPIP] +2.1.12
[velocampus/web/www.git] / www / ecrire / maj / v011.php
diff --git a/www/ecrire/maj/v011.php b/www/ecrire/maj/v011.php
new file mode 100644 (file)
index 0000000..9fa3147
--- /dev/null
@@ -0,0 +1,27 @@
+<?php
+
+/***************************************************************************\
+ *  SPIP, Systeme de publication pour l'internet                           *
+ *                                                                         *
+ *  Copyright (c) 2001-2011                                                *
+ *  Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James  *
+ *                                                                         *
+ *  Ce programme est un logiciel libre distribue sous licence GNU/GPL.     *
+ *  Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne.   *
+\***************************************************************************/
+
+if (!defined('_ECRIRE_INC_VERSION')) return;
+
+
+function maj_v011_dist($version_installee, $version_cible)
+{
+
+       if (upgrade_vers(1.1, $version_installee, $version_cible)) {
+               spip_query("DROP TABLE spip_petition");
+               spip_query("DROP TABLE spip_signatures_petition");
+               maj_version (1.1);
+       }
+}
+
+
+?>