You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log-Error -FullLogPath $FullLogPath-ErrorDesc "Unable to remove folder data from XML: $FailedItem, $ErrorMessage`n$Error[0]"-ExitGracefully $True
576
576
}
577
577
}
578
-
Else {
579
-
#Query MySQL for folder data.
580
-
$FolderData=Get-LTData-query "SELECT * FROM `scriptfolders` WHERE FolderID=$($ScriptXML.FolderId)"
578
+
Else {
579
+
#Query MySQL for folder data.
580
+
$FolderData=Get-LTData-query "SELECT * FROM `scriptfolders` WHERE FolderID=$($ScriptXML.FolderId)"
581
581
582
-
#Check if folder is no longer present.
583
-
if ($FolderData-eq$null) {
584
-
Log-Write -FullLogPath $FullLogPath-LineValue "ScritID $($ScriptXML.ScriptId) references folder $($ScriptXML.FolderId), this folder is no longer present. Setting to root folder."
585
-
Log-Write -FullLogPath $FullLogPath-LineValue "It is recomended that you move this script to a folder."
582
+
#Check if folder is no longer present.
583
+
if ($FolderData-eq$null) {
584
+
Log-Write -FullLogPath $FullLogPath-LineValue "ScritID $($ScriptXML.ScriptId) references folder $($ScriptXML.FolderId), this folder is no longer present. Setting to root folder."
585
+
Log-Write -FullLogPath $FullLogPath-LineValue "It is recomended that you move this script to a folder."
0 commit comments