mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 21:13:26 +00:00
Remove User_Adapter
This commit is contained in:
@@ -52,9 +52,9 @@ class record_orderElement extends record_adapter
|
||||
public function get_order_master_name()
|
||||
{
|
||||
if ($this->order_master_id) {
|
||||
$user = User_Adapter::getInstance($this->order_master_id, $this->app);
|
||||
$user = $this->app['manipulator.user']->getRepository()->find($this->order_master_id);
|
||||
|
||||
return $user->get_display_name();
|
||||
return $user->getDisplayName();
|
||||
}
|
||||
|
||||
return '';
|
||||
|
Reference in New Issue
Block a user