mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Refactor status display
This commit is contained in:
@@ -307,9 +307,9 @@ class databox extends base
|
||||
*
|
||||
* @return databox_status
|
||||
*/
|
||||
public function get_statusbits()
|
||||
public function getStatusStructure()
|
||||
{
|
||||
return databox_status::getStatus($this->app, $this->id);
|
||||
return $this->app['factory.status-structure']->getStructure($this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user