Removed usage of error suppression operator
This commit is contained in:
parent
35dbdb618f
commit
c9bad93715
1 changed files with 3 additions and 1 deletions
4
includes/cache/MessageCache.php
vendored
4
includes/cache/MessageCache.php
vendored
|
|
@ -189,7 +189,9 @@ class MessageCache {
|
|||
|
||||
fwrite( $file, $hash . $serialized );
|
||||
fclose( $file );
|
||||
@chmod( $filename, 0666 );
|
||||
wfSuppressWarnings();
|
||||
chmod( $filename, 0666 );
|
||||
wfRestoreWarnings();
|
||||
}
|
||||
|
||||
function saveToScript( $array, $hash, $code ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue