summaryrefslogtreecommitdiff
path: root/plugins/Autocomplete/autocomplete.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-09-15 17:08:26 -0400
committerCraig Andrews <candrews@integralblue.com>2009-09-15 17:08:26 -0400
commit4a97ad9efeeb350159e1d0c82686d234ee0cdb12 (patch)
treed050a4f39aa66f06b2f7861f8acc69f126c689a9 /plugins/Autocomplete/autocomplete.php
parent80ba0603c65e1f2365f019128b656a042a2b82d0 (diff)
Remove unnecessary Profile::pkeyGet
Thanks for the info, Evan.
Diffstat (limited to 'plugins/Autocomplete/autocomplete.php')
-rw-r--r--plugins/Autocomplete/autocomplete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Autocomplete/autocomplete.php b/plugins/Autocomplete/autocomplete.php
index 96d54af8d..4379a86f2 100644
--- a/plugins/Autocomplete/autocomplete.php
+++ b/plugins/Autocomplete/autocomplete.php
@@ -62,7 +62,7 @@ class AutocompleteAction extends Action
$user->whereAdd('nickname like \'' . trim($user->escape($q), '\'') . '%\'');
$user->find();
while($user->fetch()) {
- $profile = Profile::pkeyGet(array('id' => $user->id));
+ $profile = Profile::staticGet($user->id);
$this->results[]=array('nickname' => $user->nickname, 'fullname'=> $profile->fullname, 'type'=>'user');
}
}