summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-05-23 23:27:42 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-05-23 23:27:42 -0400
commit705abf31ee65b821f1c64921005f1814cc83733c (patch)
tree1594b5b906003738ca2742d58fc201865fe11cf6 /classes
parent91fc1e36bc268aa2bd7345206cd0e520d91aac26 (diff)
add getDesign to User
Diffstat (limited to 'classes')
-rw-r--r--classes/User.php5
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);
+ }
}