Changeset 93711 in spip-zone for _core_/branches/spip-3.0/plugins/sites


Ignore:
Timestamp:
Dec 16, 2015, 9:48:16 AM (5 years ago)
Author:
cedric@…
Message:

utiliser objet_modifier_champs plutot que sql_updateq, cela permet de passer par les pipelines pre/post edition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _core_/branches/spip-3.0/plugins/sites/genie/syndic.php

    r91274 r93711  
    269269        if ($data['lastbuilddate'])
    270270                $vals['date']= date("Y-m-d H:i:s", $data['lastbuilddate']);
    271                                    
    272         sql_updateq('spip_syndic_articles', $vals, "id_syndic_article=$id_syndic_article");
     271
     272        include_spip('inc/modifier');
     273        objet_modifier_champs('syndic_article',$id_syndic_article,array('data'=>$vals),$vals);
    273274
    274275        // Point d'entree post_syndication
Note: See TracChangeset for help on using the changeset viewer.