remove obsolete semicolon after closing curly bracket

pull/1207/head
Andreas Ziegler 2016-06-04 02:21:23 +02:00
parent 5e4f09352d
commit 81d197ed16
3 changed files with 3 additions and 3 deletions

View File

@ -1132,7 +1132,7 @@ class Attribute extends AppModel {
exec("zip -j -P infected " . $zipfile->path . ' \'' . addslashes($fileInZip->path) . '\'', $execOutput, $execRetval);
if ($execRetval != 0) { // not EXIT_SUCCESS
// TODO: error handling
};
}
$fileInZip->delete(); // delete the original non-zipped-file
rename($zipfile->path, $file->path); // rename the .zip to .nothing
} else {

View File

@ -347,7 +347,7 @@ class Event extends AppModel {
if (!$this->destroyDir($dir . DS . $file)) {
chmod($dir . DS . $file, 0777);
if (!$this->destroyDir($dir . DS . $file)) return false;
};
}
}
return rmdir($dir);
}

View File

@ -456,7 +456,7 @@ class ShadowAttribute extends AppModel {
exec("zip -j -P infected " . $zipfile->path . ' \'' . addslashes($fileInZip->path) . '\'', $execOutput, $execRetval);
if ($execRetval != 0) { // not EXIT_SUCCESS
// TODO: error-handling
};
}
$fileInZip->delete(); // delete the original non-zipped-file
rename($zipfile->path, $file->path); // rename the .zip to .nothing
} else {