Changeset 94634 in spip-zone


Ignore:
Timestamp:
Jan 18, 2016, 11:39:47 AM (4 years ago)
Author:
p@…
Message:

Compatibilité 3.1

action_spip_image_ajouter_dist est remplacé par logo_modifié en 3.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/duplicator/trunk/inc/duplicator.php

    r93025 r94634  
    255255        $source['size'] = @filesize($logo_source);
    256256
     257        include_spip('action/editer_logo');
     258        // Version SPIP 3.1
     259        if (function_exists('logo_modifier')) {
     260                return logo_modifier($type, $id_destination, 'on', $logo_source);
     261        }
     262
    257263        action_spip_image_ajouter_dist(substr($type,0,3). $logo_type .$id_destination, 'local', $source );
    258264        return true;
Note: See TracChangeset for help on using the changeset viewer.