Standardize code

This commit is contained in:
Laurent Destailleur 2019-06-19 13:16:46 +02:00
parent ec71a3efa3
commit df8fff843c

View File

@ -745,7 +745,7 @@ IMG;
private function _rrmdir($dir)
{
if ($handle = opendir($dir)) {
while (false !== ($file = readdir($handle))) {
while (($file = readdir($handle))!==false) {
if ($file != '.' && $file != '..') {
if (is_dir($dir . '/' . $file)) {
$this->_rrmdir($dir . '/' . $file);