add getDesign to User

This commit is contained in:
Evan Prodromou 2009-05-23 23:27:42 -04:00
parent 91fc1e36bc
commit 705abf31ee

View File

@ -684,4 +684,9 @@ class User extends Memcached_DataObject
return ($cnt > 0);
}
function getDesign()
{
return Design::staticGet('id', $this->design_id);
}
}