From 5502fd4ca7a584b6267c151202af97b4e9b8ea59 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 30 Jan 2008 01:06:28 +0000 Subject: [PATCH] put a @ on a chmod, since all other file ops in there are so marked. redundant chmods can bring warnings if we don't own the file (even though it's already world-writable) --- includes/filerepo/FSRepo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/filerepo/FSRepo.php b/includes/filerepo/FSRepo.php index 84ec9a2709..86887d0957 100644 --- a/includes/filerepo/FSRepo.php +++ b/includes/filerepo/FSRepo.php @@ -422,7 +422,7 @@ class FSRepo extends FileRepo { $status->error( 'filerenameerror', $srcPath, $archivePath ); $good = false; } else { - chmod( $archivePath, 0644 ); + @chmod( $archivePath, 0644 ); } } if ( $good ) { -- 2.20.1