File tree Expand file tree Collapse file tree
Build4D/Project/Sources/Classes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -397,10 +397,11 @@ Function _resolvePath($path : Variant; $baseFolder : 4D.Folder) : Object
397397 return File ($file .platformPath ; fk platform path)
398398
399399 Else
400- if ($folder# Null)
400+ If ($folder# Null)
401401 return Folder ($folder .platformPath ; fk platform path)
402- else
402+ Else
403403 return Null
404+ End if
404405
405406 End case
406407
@@ -696,7 +697,7 @@ Function _deletePaths($paths : Collection) : Boolean
696697
697698 var $path : Variant
698699 var $deletePath : Object
699- var $pathType : Integer
700+ var $pathType : Integer
700701
701702 If (($paths# Null) && ($paths .length > 0))
702703
@@ -716,7 +717,7 @@ Function _deletePaths($paths : Collection) : Boolean
716717 $pathType := Test path name (String ($deletePath .platformPath ))
717718 If ($pathType>= 0)
718719 Case of
719- : ($pathType= Is a file )
720+ : ($pathType= Is a document )
720721 $deletePath .delete ()
721722 Else // : (OB Instance of($path; 4D.Folder)) // if not 4D folder?
722723 $deletePath .delete (fk recursive)
You can’t perform that action at this time.
0 commit comments