ZP-659 Remove else. Released under the Affero GNU General Public License (AGPL) version 3.

parent c0fa38b4
......@@ -408,7 +408,7 @@ class BackendCombined extends Backend {
$backend = $this->GetBackend($folderid);
if($backend === false) {
// if not backend is found we return true, we don't want this to never cause an error
// if not backend is found we return true, we don't want this to cause an error
return true;
}
......@@ -416,10 +416,9 @@ class BackendCombined extends Backend {
ZLog::Write(LOGLEVEL_DEBUG, sprintf("BackendCombined->ChangesSinkInitialize('%s') is supported, initializing", $folderid));
return $backend->ChangesSinkInitialize($this->GetBackendFolder($folderid));
}
else {
// if the backend doesn't support ChangesSink, we also return true so we don't get an error
return true;
}
// if the backend doesn't support ChangesSink, we also return true so we don't get an error
return true;
}
/**
......
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