Fix phpcs
This commit is contained in:
parent
bfbc9b303a
commit
9bbedce3d6
@ -83,6 +83,7 @@ $db->close(); // Close $db database opened handler
|
|||||||
|
|
||||||
exit($error);
|
exit($error);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Migrate file from old path to new one for user $u
|
* Migrate file from old path to new one for user $u
|
||||||
*
|
*
|
||||||
@ -105,7 +106,6 @@ function migrate_user_filespath($u)
|
|||||||
dol_mkdir($destin);
|
dol_mkdir($destin);
|
||||||
|
|
||||||
if (dol_is_dir($origin)) {
|
if (dol_is_dir($origin)) {
|
||||||
|
|
||||||
$handle = opendir($origin_osencoded);
|
$handle = opendir($origin_osencoded);
|
||||||
if (is_resource($handle)) {
|
if (is_resource($handle)) {
|
||||||
while (($file = readdir($handle)) !== false) {
|
while (($file = readdir($handle)) !== false) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user