more specific profile-get is slightly more efficient

darcs-hash:20081004021158-5ed1f-c8f5e68dd411a5fe7a01ae35398914469c377794.gz
This commit is contained in:
Evan Prodromou 2008-10-03 22:11:58 -04:00
parent 491af90fa7
commit f9bc366190

View File

@ -54,7 +54,7 @@ class Notice extends Memcached_DataObject
###END_AUTOCODE ###END_AUTOCODE
function getProfile() { function getProfile() {
return Profile::staticGet($this->profile_id); return Profile::staticGet('id', $this->profile_id);
} }
function delete() { function delete() {