Changeset 24599 in spip-zone


Ignore:
Timestamp:
Nov 24, 2008, 6:47:44 PM (11 years ago)
Author:
arno@…
Message:

Installation de la base

Location:
_plugins_/_stable_/selection_d_articles
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/selection_d_articles/base/pb_selection_install.php

    r24597 r24599  
    66
    77function pb_selection_declarer_tables_principales($tables_principales){
    8 
    9         global $tables_principales;
    108       
    119
     
    2321                'field' => &$spip_pb_selection,
    2422                'key' => &$spip_pb_selection_key);
    25 
    26         // Bizarre: il faut encore demander a creer la base?
    27         include_spip('base/create');
    28         include_spip('base/abstract_sql');
    29         creer_base();
    30        
    31        
    3223        return $tables_principales;
    3324       
    3425        }
    3526
    36 /*
    37         function pb_selection_vider_tables($nom_meta_base_version) {
    38                 spip_query("DROP TABLE spip_pb_selection");
    39                 effacer_meta("pb_selection_version");
    40                 ecrire_metas();
    41         }
    42 */
    4327
    4428?>
  • _plugins_/_stable_/selection_d_articles/plugin.xml

    r24597 r24599  
    1414        <licence>GPL 3</licence>
    1515        <prefix>pb_selection</prefix>
    16         <install>base/pb_selection_install.php</install>
     16        <install>base/pb_selection_upgrade.php</install>
    1717        <pipeline>
    1818                <nom>declarer_tables_principales</nom>
Note: See TracChangeset for help on using the changeset viewer.