more specific profile-get is slightly more efficient
darcs-hash:20081004021158-5ed1f-c8f5e68dd411a5fe7a01ae35398914469c377794.gz
This commit is contained in:
parent
491af90fa7
commit
f9bc366190
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user