Commit 7808a7b8 authored by Etienne CHAMPETIER's avatar Etienne CHAMPETIER

ZP-795 fix indentation.

Released under the Affero GNU General Public License (AGPL) version 3.
parent f0ce46d6
......@@ -316,8 +316,8 @@ class StateManager {
*/
public function SetBackendStorage($data, $type = self::BACKENDSTORAGE_PERMANENT) {
if ($type == self::BACKENDSTORAGE_STATE) {
if (!$this->uuid)
throw new StateNotYetAvailableException();
if (!$this->uuid)
throw new StateNotYetAvailableException();
// TODO serialization should be done in the StateMachine
return $this->statemachine->SetState($data, $this->device->GetDeviceId(), IStateMachine::BACKENDSTORAGE, $this->uuid, $this->newStateCounter);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment