From 9bbedce3d60f620fe3591bc7012fc03d15cca4d4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 5 Apr 2020 12:23:58 +0200 Subject: [PATCH] Fix phpcs --- scripts/user/migrate_picture_path.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/user/migrate_picture_path.php b/scripts/user/migrate_picture_path.php index f478c42b865..b0ca99dd977 100755 --- a/scripts/user/migrate_picture_path.php +++ b/scripts/user/migrate_picture_path.php @@ -83,6 +83,7 @@ $db->close(); // Close $db database opened handler exit($error); + /** * Migrate file from old path to new one for user $u * @@ -105,7 +106,6 @@ function migrate_user_filespath($u) dol_mkdir($destin); if (dol_is_dir($origin)) { - $handle = opendir($origin_osencoded); if (is_resource($handle)) { while (($file = readdir($handle)) !== false) {