Skip to content

Commit

Permalink
Upgrade de base pour rendre les sons soudcloud playable
Browse files Browse the repository at this point in the history
  • Loading branch information
Cerdic committed Aug 2, 2018
1 parent 648af1e commit 9df35e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/pouetradio/paquet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
compatibilite="[3.0.0;3.2.*]"
logo="pouetradio-32.png"
documentation=""
schema="1.1.2"
schema="1.1.3"
>

<nom>PouetRadio</nom>
Expand Down
4 changes: 4 additions & 0 deletions plugins/pouetradio/pouetradio_administrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ function pouetradio_upgrade($nom_meta_base_version,$version_cible){
array('sql_updateq',"spip_syndic_articles", array('playable'=>-1), "playable=0"),
array('pouetradio_make_playables'),
);
$maj['1.1.3'] = array(
array('sql_updateq',"spip_syndic_articles", array('playable'=>-1), "playable=0 AND tags like '%soundcloud%'"),
array('pouetradio_make_playables'),
);

include_spip('base/upgrade');
maj_plugin($nom_meta_base_version, $version_cible, $maj);
Expand Down

0 comments on commit 9df35e9

Please sign in to comment.