summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
+ }
}