- $storages = $this->getModule('bconsole')->bconsoleCommand($this->director, array('show', 'storages'), $this->user);
- $this->output = $storages->output;
- $this->error = (integer)$storages->exitcode;
+ $result = $this->getModule('bconsole')->bconsoleCommand($this->director, array('show', 'storages'));
+ $this->output = $result->output;
+ $this->error = $result->exitcode;