Refactor status display

This commit is contained in:
Nicolas Le Goff
2015-02-02 11:34:44 +01:00
parent 47e9605aab
commit 111755fa9b
33 changed files with 928 additions and 646 deletions

View File

@@ -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);
}
/**