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