Fix migration import of user files
This commit is contained in:
parent
34fcf1e9d0
commit
ac85dea267
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ class OC_Migrate{
|
|||
$userfolder = $extractpath . $json->exporteduser;
|
||||
$newuserfolder = $datadir . '/' . self::$uid;
|
||||
foreach(scandir($userfolder) as $file){
|
||||
if($file !== '.' && $file !== '..' && is_dir($file)) {
|
||||
if($file !== '.' && $file !== '..' && is_dir($userfolder.'/'.$file)) {
|
||||
$file = str_replace(array('/', '\\'), '', $file);
|
||||
|
||||
// Then copy the folder over
|
||||
|
|
Loading…
Reference in a new issue