Dotclear

Changeset 1368


Ignore:
Timestamp:
08/06/09 10:55:13 (14 years ago)
Author:
Tomtom33
Message:

notifications 0.7 :

  • fixes PHP 5.3 compatibility
Location:
plugins/notifications
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • plugins/notifications/_define.php

    r1143 r1368  
    1717          /* Description */        'Displays few notifications on administration pages', 
    1818          /* Author */             'Tomtom (http://blog.zenstyle.fr/)', 
    19           /* Version */            '0.6', 
     19          /* Version */            '0.7', 
    2020          /* Permissions */        'usage', 
    2121                                   null, 
  • plugins/notifications/_prepend.php

    r1057 r1368  
    3838$core->rest->addFunction('getNotifications',array('notificationsRestMethods','getNotifications')); 
    3939 
    40  
    4140?> 
  • plugins/notifications/inc/class.notifications.behaviors.php

    r1144 r1368  
    1313class notificationsBehaviors 
    1414{ 
    15      public static function postCreate(&$cur,&$post_id) 
     15     public static function postCreate($cur,$post_id) 
    1616     { 
    1717          global $core; 
     
    2525     } 
    2626 
    27      public static function postUpdate(&$cur,&$post_id) 
     27     public static function postUpdate($cur,$post_id) 
    2828     { 
    2929          global $core; 
     
    3737     } 
    3838 
    39      public static function postDelete(&$post_id) 
     39     public static function postDelete($post_id) 
    4040     { 
    4141          global $core; 
     
    4848     } 
    4949 
    50      public static function categoryCreate(&$cur,&$cat_id) 
     50     public static function categoryCreate($cur,$cat_id) 
    5151     { 
    5252          global $core; 
     
    6060     } 
    6161 
    62      public static function categoryUpdate(&$cur,&$cat_id) 
     62     public static function categoryUpdate($cur,$cat_id) 
    6363     { 
    6464          global $core; 
     
    7272     } 
    7373 
    74      public static function commentCreate(&$blog,&$cur) 
     74     public static function commentCreate($blog,$cur) 
    7575     { 
    7676          global $core; 
     
    8989     } 
    9090 
    91      public static function commentUpdate(&$blog,&$cur,&$rs) 
     91     public static function commentUpdate($blog,$cur,$rs) 
    9292     { 
    9393          global $core; 
     
    101101     } 
    102102 
    103      public static function trackbacks(&$cur,&$comment_id) 
     103     public static function trackbacks($cur,$comment_id) 
    104104     { 
    105105          global $core; 
     
    140140     } 
    141141 
    142      public static function update(&$core,$ref = '') 
     142     public static function update($core,$ref = '') 
    143143     { 
    144144          $strReq = 'SELECT MAX(log_id) as max, log_table FROM '.$core->prefix.'log '. 
     
    175175     } 
    176176 
    177      public static function clean(&$core) 
     177     public static function clean($core) 
    178178     { 
    179179          $strReq =  
     
    189189     } 
    190190 
    191      public static function exportFull(&$core,&$exp) 
     191     public static function exportFull($core,$exp) 
    192192     { 
    193193          $exp->exportTable('notification'); 
    194194     } 
    195195 
    196      public static function exportSingle(&$core,&$exp,$blog_id) 
     196     public static function exportSingle($core,$exp,$blog_id) 
    197197     { 
    198198          $exp->export('notification', 
Note: See TracChangeset for help on using the changeset viewer.

Sites map