add getDesign to User
This commit is contained in:
parent
91fc1e36bc
commit
705abf31ee
|
@ -684,4 +684,9 @@ class User extends Memcached_DataObject
|
||||||
|
|
||||||
return ($cnt > 0);
|
return ($cnt > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function getDesign()
|
||||||
|
{
|
||||||
|
return Design::staticGet('id', $this->design_id);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user