* @ingroup FileBackend
*/
+use Wikimedia\AtEase\AtEase;
+
/**
* Store a file into the backend from a file on the file system.
* Parameters for this operation are outlined in FileBackend::doOperations().
}
protected function getSourceSha1Base36() {
- MediaWiki\suppressWarnings();
+ AtEase::suppressWarnings();
$hash = sha1_file( $this->params['src'] );
- MediaWiki\restoreWarnings();
+ AtEase::restoreWarnings();
if ( $hash !== false ) {
$hash = Wikimedia\base_convert( $hash, 16, 36, 31 );
}