Remove User_Adapter

This commit is contained in:
Nicolas Le Goff
2013-11-05 17:38:27 +01:00
parent 171390f7c8
commit c156f842c7
231 changed files with 3918 additions and 2986 deletions

View File

@@ -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 '';