Browse Source

lors de la migration des logos en base, indiquer à action_ajouter_un_document_dist() de bypasser verifier_taille_document_acceptable()

suite de spip/medias#10

ref #4495
decaler_niveau_titre
b_b 2 years ago committed by Gitea
parent
commit
caa9a25d8d
  1. 2
      ecrire/maj/svn10000.php

2
ecrire/maj/svn10000.php

@ -706,8 +706,10 @@ $GLOBALS['maj'][23375] = array(
);
function upgrade_logo_objet($objet) {
$GLOBALS['logo_migrer_en_base'] = true;
include_spip('ecrire/action/editer_logo');
logo_migrer_en_base($objet, _TIME_OUT);
unset($GLOBALS['logo_migrer_en_base']);
}
// upgrade des logos
$GLOBALS['maj'][24351] = [];

Loading…
Cancel
Save