Skip to content

Commit 15eead4

Browse files
committed
silence warning from touch()
1 parent fcbb117 commit 15eead4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/icwp-wpfilesystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ public function touch( $sFilePath, $nTime ) {
463463
if ( $oFs && $oFs->touch( $sFilePath, $nTime ) ) {
464464
return true;
465465
}
466-
return function_exists( 'touch' ) ? touch( $sFilePath, $nTime ) : null;
466+
return function_exists( 'touch' ) ? @touch( $sFilePath, $nTime ) : null;
467467
}
468468

469469
/**

0 commit comments

Comments
 (0)