forked from GNUsocial/gnu-social
We get profiles directly, there's no user object anymore
This commit is contained in:
parent
c656b5a510
commit
37e9366e88
@ -63,7 +63,7 @@ class AutocompleteAction extends Action
|
|||||||
{
|
{
|
||||||
$max=0;
|
$max=0;
|
||||||
foreach($this->profiles as $profile){
|
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){
|
foreach($this->groups as $group){
|
||||||
$max = max($max,strtotime($group->modified));
|
$max = max($max,strtotime($group->modified));
|
||||||
|
Loading…
Reference in New Issue
Block a user