Slight refactor of set_export to avoid N+1

This commit is contained in:
Benoît Burnichon
2016-05-20 10:18:30 +02:00
parent edaf603552
commit db3bb2d4c4
2 changed files with 10 additions and 13 deletions

View File

@@ -68,8 +68,6 @@ class record_exportElement extends record_adapter
parent::__construct($app, $sbas_id, $record_id);
$this->get_actions($remain_hd);
return $this;
}
/**
@@ -270,8 +268,7 @@ class record_exportElement extends record_adapter
}
/**
*
* @return Array
* @return array
*/
public function get_orderable()
{
@@ -279,8 +276,7 @@ class record_exportElement extends record_adapter
}
/**
*
* @return Array
* @return array
*/
public function get_downloadable()
{