Changeset 706f9a


Ignore:
Timestamp:
04/26/15 20:37:36 (2 years ago)
Author:
pierre-alain <pierre-alain@…>
Branches:
master
Children:
ed39d4
Parents:
3736fa
git-author:
pierre-alain <pierre-alain@…> (04/26/15 20:37:36)
git-committer:
pierre-alain <pierre-alain@…> (04/26/15 20:37:36)
Message:

fixing token cache

Location:
OWR
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OWR/Controller.php

    re5adc0 r706f9a  
    22762276 
    22772277            case 'user': 
    2278                 $noCacheDatas['token'] = $this->_user->getToken(); 
    22792278                if(empty($datas['id'])) 
    22802279                { // surely editing a new user 
     
    23042303            case 'users': 
    23052304                $datas['surl'] = $this->_cfg->get('surl'); 
    2306                 $noCacheDatas['token'] = $this->_user->getToken(); 
    23072305                $request = new Request($datas); 
    23082306                Model::getCachedModel('users')->view($request, array(), 'login'); 
  • OWR/Includes/Themes/Original/Theme.php

    r3736fa r706f9a  
    146146    { 
    147147        $datas['nbusers'] = count($datas['users']); 
     148        $noCacheDatas['token'] = User::iGet()->getToken(); 
    148149        return $this->_view->get(__FUNCTION__, $datas, null, $noCacheDatas); 
    149150    } 
Note: See TracChangeset for help on using the changeset viewer.