Revert "Fix get max time from user profile"

This reverts commit 3c985f9f31.
legacy
parent 3c985f9f31
commit d139162511

@ -12749,12 +12749,12 @@ if %%errorlevel%%==0 NET USE T: \\\\%s\\ftp' %(netbios,netbios,netbios)
statInfo = stInfo[stat.ST_MODE]
if stat.S_ISREG(statInfo):
if checkTime:
curTime = stInfo[stat.ST_MTIME]
curTime = stInfo[stat.ST_CTIME]
if curTime>maxTime:
maxTime = curTime
elif stat.S_ISDIR(statInfo):
if checkTime:
curTime = stInfo[stat.ST_MTIME]
curTime = stInfo[stat.ST_CTIME]
if curTime>maxTime:
maxTime = curTime
maxTime = self.maxDateAndListInDir(absPath, listFiles,
@ -12762,7 +12762,7 @@ if %%errorlevel%%==0 NET USE T: \\\\%s\\ftp' %(netbios,netbios,netbios)
prefix, maxTime, True)
elif stat.S_ISLNK(statInfo):
if checkTime:
curTime = stInfo[stat.ST_MTIME]
curTime = stInfo[stat.ST_CTIME]
if curTime>maxTime:
maxTime = curTime
return maxTime

Loading…
Cancel
Save