Skip to content
Extraits de code Groupes Projets
Valider c3a6d1ca rédigé par esj's avatar esj
Parcourir les fichiers

Ne pas vérifier les tables en cas de reinstall, on ne sait pas ce qui est...

Ne pas vérifier les tables en cas de reinstall, on ne sait pas ce qui est anormal. Et erreur de syntaxe dans une MAJ.
parent 96649c7c
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -192,7 +192,7 @@ function exec_admin_tech_dist() ...@@ -192,7 +192,7 @@ function exec_admin_tech_dist()
// Lien vers la reparation // Lien vers la reparation
// //
if (autoriser('detruire')) { if (autoriser('detruire') AND !_request('reinstall')) {
if (version_compare(sql_version(),'3.23.14','>=')) { if (version_compare(sql_version(),'3.23.14','>=')) {
$res = "\n<p style='text-align: justify;'>". $res = "\n<p style='text-align: justify;'>".
_T('texte_crash_base') . _T('texte_crash_base') .
......
...@@ -22,7 +22,8 @@ function genie_maintenance_dist ($t) { ...@@ -22,7 +22,8 @@ function genie_maintenance_dist ($t) {
verifier_htaccess(_DIR_TMP); verifier_htaccess(_DIR_TMP);
// Verifier qu'aucune table n'est crashee // Verifier qu'aucune table n'est crashee
verifier_crash_tables(); if (!_request('reinstall'))
verifier_crash_tables();
return 1; return 1;
} }
......
...@@ -444,7 +444,7 @@ $GLOBALS['maj'][1958] = array( ...@@ -444,7 +444,7 @@ $GLOBALS['maj'][1958] = array(
// l'impossibilite de telecharger une image // l'impossibilite de telecharger une image
// http://trac.rezo.net/trac/spip/ticket/1238 // http://trac.rezo.net/trac/spip/ticket/1238
$GLOBALS['maj'][11171] = array( $GLOBALS['maj'][11171] = array(
array('spip_query', "UPDATE spip_types_documents SET `upload`='oui' WHERE `upload IS NULL OR `upload`!='non'") array('spip_query', "UPDATE spip_types_documents SET upload='oui' WHERE upload IS NULL OR upload!='non'")
); );
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter