We get profiles directly, there's no user object anymore

This commit is contained in:
Mikael Nordfeldth 2014-04-18 22:18:11 +02:00
parent c656b5a510
commit 37e9366e88

View File

@ -63,7 +63,7 @@ class AutocompleteAction extends Action
{
$max=0;
foreach($this->profiles as $profile){
$max = max($max,strtotime($user->modified),strtotime($profile->modified));
$max = max($max, strtotime($profile->modified));
}
foreach($this->groups as $group){
$max = max($max,strtotime($group->modified));