Dotclear


Ignore:
Timestamp:
10/23/12 11:32:43 (11 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

New behaviours adminBeforeUserOptionsUpdate and adminAfterUserOptionsUpdate, fixes #1300

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/preferences.php

    r821 r897  
    162162          $cur->user_options = new ArrayObject($user_options); 
    163163           
    164           # --BEHAVIOR-- adminBeforeUserUpdate 
    165           $core->callBehavior('adminBeforeUserUpdate',$cur,$core->auth->userID()); 
     164          # --BEHAVIOR-- adminBeforeUserOptionsUpdate 
     165          $core->callBehavior('adminBeforeUserOptionsUpdate',$cur,$core->auth->userID()); 
    166166           
    167167          # Update user prefs 
     
    181181          $core->updUser($core->auth->userID(),$cur); 
    182182           
    183           # --BEHAVIOR-- adminAfterUserUpdate 
    184           $core->callBehavior('adminAfterUserUpdate',$cur,$core->auth->userID()); 
     183          # --BEHAVIOR-- adminAfterUserOptionsUpdate 
     184          $core->callBehavior('adminAfterUserOptionsUpdate',$cur,$core->auth->userID()); 
    185185           
    186186          http::redirect('preferences.php?updated=1'); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map