diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-05-23 23:27:42 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-05-23 23:27:42 -0400 |
commit | 705abf31ee65b821f1c64921005f1814cc83733c (patch) | |
tree | 1594b5b906003738ca2742d58fc201865fe11cf6 /classes/User.php | |
parent | 91fc1e36bc268aa2bd7345206cd0e520d91aac26 (diff) |
add getDesign to User
Diffstat (limited to 'classes/User.php')
-rw-r--r-- | classes/User.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/User.php b/classes/User.php index 22090b986..8cc8285f1 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); + } } |