summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-10-03 22:11:58 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-10-03 22:11:58 -0400
commitf9bc366190e78b7f952b6f040c6fd01c09573a60 (patch)
treedc32542cff83bc48f3e99e01f1e8521cb0f2ccdf /classes
parent491af90fa78ec849abd9d0b8d1867b80647bbb80 (diff)
more specific profile-get is slightly more efficient
darcs-hash:20081004021158-5ed1f-c8f5e68dd411a5fe7a01ae35398914469c377794.gz
Diffstat (limited to 'classes')
-rw-r--r--classes/Notice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 04ac6d7d4..7566136ce 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -54,7 +54,7 @@ class Notice extends Memcached_DataObject
###END_AUTOCODE
function getProfile() {
- return Profile::staticGet($this->profile_id);
+ return Profile::staticGet('id', $this->profile_id);
}
function delete() {