From: Evan Prodromou Date: Sun, 24 May 2009 03:27:42 +0000 (-0400) Subject: add getDesign to User X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=705abf31ee65b821f1c64921005f1814cc83733c;p=quix0rs-gnu-social.git add getDesign to User --- diff --git a/classes/User.php b/classes/User.php index 22090b9867..8cc8285f1e 100644 --- a/classes/User.php +++ b/classes/User.php @@ -684,4 +684,9 @@ class User extends Memcached_DataObject return ($cnt > 0); } + + function getDesign() + { + return Design::staticGet('id', $this->design_id); + } }