dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12c33ba
)
put a @ on a chmod, since all other file ops in there are so marked.
author
Brion Vibber
<brion@users.mediawiki.org>
Wed, 30 Jan 2008 01:06:28 +0000
(
01:06
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Wed, 30 Jan 2008 01:06:28 +0000
(
01:06
+0000)
redundant chmods can bring warnings if we don't own the file (even though it's already world-writable)
includes/filerepo/FSRepo.php
patch
|
blob
|
history
diff --git
a/includes/filerepo/FSRepo.php
b/includes/filerepo/FSRepo.php
index
84ec9a2
..
86887d0
100644
(file)
--- 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 ) {