dolibarr 18.0.6
migrate_picture_path.php File Reference

Migrate pictures from old system prior to 3.7 to new path for 3.7+. More...

Go to the source code of this file.

Functions

 migrate_user_filespath ($u)
 Migrate file from old path to new one for user $u.
 

Detailed Description

Migrate pictures from old system prior to 3.7 to new path for 3.7+.

Definition in file migrate_picture_path.php.

Function Documentation

◆ migrate_user_filespath()

migrate_user_filespath ( $u)

Migrate file from old path to new one for user $u.

Parameters
User$uObject user
Returns
void

Definition at line 98 of file migrate_picture_path.php.

References dol_is_dir(), dol_is_file(), dol_mkdir(), dol_move(), dol_osencode(), and get_exdir().