Dotclear

Changeset 2437 for plugins/alias


Ignore:
Timestamp:
07/03/10 23:19:18 (13 years ago)
Author:
zeiram
Message:

Oops... Due to pass by reference, the latest commit did not work on PHP 5.3. Corrected and has now been tested on PHP5.2.11, PHP 5.3.0 and PHP5.3.1. Thanks to Franck for his vigilance.

Location:
plugins/alias
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/alias/_admin.php

    r2436 r2437  
    3333class aliasBehaviors 
    3434{ 
    35      public static function exportFull(&$core,&$exp) 
     35     public static function exportFull($core,$exp) 
    3636     { 
    3737          $exp->exportTable('alias'); 
    3838     } 
    3939 
    40      public static function exportSingle(&$core,&$exp,$blog_id) 
     40     public static function exportSingle($core,$exp,$blog_id) 
    4141     { 
    4242          $exp->export('alias', 
     
    4747     } 
    4848 
    49      public static function importInit(&$bk,&$core) 
     49     public static function importInit($bk,$core) 
    5050     { 
    5151          $bk->cur_alias = $core->con->openCursor($core->prefix.'alias'); 
     
    5454     } 
    5555 
    56      public static function importFull(&$line,&$bk,&$core) 
     56     public static function importFull($line,$bk,$core) 
    5757     { 
    5858          if ($line->__name == 'alias') 
     
    6969     } 
    7070 
    71      public static function importSingle(&$line,&$bk,&$core) 
     71     public static function importSingle($line,$bk,$core) 
    7272     { 
    7373          if ($line->__name == 'alias') 
  • plugins/alias/_define.php

    r2436 r2437  
    1616     /* Description*/         "Create aliases of your blog's URLs", 
    1717     /* Author */             "Olivier Meunier and contributors", 
    18      /* Version */            '1.2.0', 
     18     /* Version */            '1.2.1', 
    1919     /* Permissions */        'admin' 
    2020); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map