]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
We get profiles directly, there's no user object anymore
authorMikael Nordfeldth <mmn@hethane.se>
Fri, 18 Apr 2014 20:18:11 +0000 (22:18 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Fri, 18 Apr 2014 20:18:11 +0000 (22:18 +0200)
plugins/Autocomplete/actions/autocomplete.php

index fce00145732c7065a571384d3460d3f2d5ca91a1..c6676250c043185330c9ce3389dca7ef55249870 100644 (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));