Code standards

This commit is contained in:
fabrixxm 2018-12-01 17:48:37 +01:00 committed by Hypolite Petovan
parent 682456c7d1
commit f7b6fef197
2 changed files with 5 additions and 5 deletions

View file

@ -130,10 +130,10 @@ class StorageManager
}
$ref = $dest::put($data);
if ($ref !== "") {
$ru = DBA::update($table, ["backend-class" => $dest, "backend-ref" => $ref, "data" => ""], ["id" => $id]);
if ($ref !== '') {
$ru = DBA::update($table, ['backend-class' => $dest, 'backend-ref' => $ref, 'data' => ''], ['id' => $id]);
if ($ru) {
if ($backendClass !== "") {
if ($backendClass !== '') {
$backendClass::delete($backendRef);
}
$moved++;