Ignore:
Timestamp:
Jan 2, 2013, 11:48:21 PM (11 years ago)
Author:
julien1311
Message:

Compatible 2.4 mais pas encore top...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Piwecard/maintain.inc.php

    r8771 r19732  
    88
    99
    10 function plugin_install()
    11 {
     10function plugin_install() {
    1211        global $prefixeTable, $conf;
    1312
    1413        $query = 'SHOW TABLES LIKE "' . $prefixeTable . 'ecard"';
    1514        $result = pwg_query($query);
    16         if (!mysql_fetch_row($result))
    17         {
     15        if (!mysql_fetch_row($result)) {
    1816
    1917        // ecard description
     
    4038
    4139    pwg_query($q);
    42    
    43 
    44        
    4540        }
    46 
    4741}
    4842
    49 function plugin_activate()
    50 {
     43function plugin_activate() {
    5144 
    5245}
    5346
    54 function plugin_uninstall()
    55 {
     47function plugin_uninstall() {
    5648    global $prefixeTable;
    5749
     
    6456    ;';
    6557    pwg_query($q);
    66 
    6758}
    68 
    69 
    7059?>
Note: See TracChangeset for help on using the changeset viewer.