From f9bc366190e78b7f952b6f040c6fd01c09573a60 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 3 Oct 2008 22:11:58 -0400 Subject: [PATCH] more specific profile-get is slightly more efficient darcs-hash:20081004021158-5ed1f-c8f5e68dd411a5fe7a01ae35398914469c377794.gz --- classes/Notice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Notice.php b/classes/Notice.php index 04ac6d7d4e..7566136ce8 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() {