Dotclear

Changeset 2441


Ignore:
Timestamp:
07/04/10 20:47:37 (13 years ago)
Author:
Moe
Message:

Email notification 1.0.4: PHP 5.3 compatibility (thanks to llaumgui)

Location:
plugins/emailNotification
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/emailNotification/_define.php

    r2077 r2441  
    1616     /* Description*/         "Email notification", 
    1717     /* Author */             "Olivier Meunier", 
    18      /* Version */            '1.0.3', 
     18     /* Version */            '1.0.4', 
    1919     /* Permissions */        'usage,contentadmin' 
    2020); 
  • plugins/emailNotification/behaviors.php

    r2077 r2441  
    1313class notificationBehaviors 
    1414{ 
    15      public static function adminUserForm(&$core) 
     15     public static function adminUserForm($core) 
    1616     { 
    1717          global $user_options; 
     
    3535     } 
    3636      
    37      public static function adminBeforeUserUpdate(&$cur,$user_id='') 
     37     public static function adminBeforeUserUpdate($cur,$user_id='') 
    3838     { 
    3939          $cur->user_options['notify_comments'] = $_POST['notify_comments']; 
    4040     } 
    4141      
    42      public static function publicAfterCommentCreate(&$cur,$comment_id) 
     42     public static function publicAfterCommentCreate($cur,$comment_id) 
    4343     { 
    4444          # We don't want notification for spam 
Note: See TracChangeset for help on using the changeset viewer.

Sites map