Update suppressWarning()/restoreWarning() calls
[lhc/web/wiklou.git] / includes / libs / lockmanager / FSLockManager.php
index 7f33a0a..f2624e7 100644 (file)
@@ -122,13 +122,13 @@ class FSLockManager extends LockManager {
                        if ( isset( $this->handles[$path] ) ) {
                                $handle = $this->handles[$path];
                        } else {
-                               MediaWiki\suppressWarnings();
+                               Wikimedia\suppressWarnings();
                                $handle = fopen( $this->getLockPath( $path ), 'a+' );
                                if ( !$handle ) { // lock dir missing?
                                        mkdir( $this->lockDir, 0777, true );
                                        $handle = fopen( $this->getLockPath( $path ), 'a+' ); // try again
                                }
-                               MediaWiki\restoreWarnings();
+                               Wikimedia\restoreWarnings();
                        }
                        if ( $handle ) {
                                // Either a shared or exclusive lock