X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ffilerepo%2Ffile%2FForeignDBFile.php;h=561ead755d1b33a6a3c5b6b94c1ac691dcdaadc9;hb=2c199cb8b7cd927dafd7a84c7c2f555deb51716e;hp=36558c4c9b25b3ef04e55511a61b8bc7b7683655;hpb=0406f3f47a7c92092868dfecf00b7c27f33331cb;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/filerepo/file/ForeignDBFile.php b/includes/filerepo/file/ForeignDBFile.php index 36558c4c9b..561ead755d 100644 --- a/includes/filerepo/file/ForeignDBFile.php +++ b/includes/filerepo/file/ForeignDBFile.php @@ -65,14 +65,14 @@ class ForeignDBFile extends LocalFile { } /** - * @param $oldver - * @param $desc string - * @param $license string - * @param $copyStatus string - * @param $source string - * @param $watch bool - * @param $timestamp bool|string - * @param $user User object or null to use $wgUser + * @param string $oldver + * @param string $desc + * @param string $license + * @param string $copyStatus + * @param string $source + * @param bool $watch + * @param bool|string $timestamp + * @param User $user User object or null to use $wgUser * @return bool * @throws MWException */ @@ -94,10 +94,11 @@ class ForeignDBFile extends LocalFile { /** * @param string $reason * @param bool $suppress + * @param User|null $user * @return FileRepoStatus * @throws MWException */ - function delete( $reason, $suppress = false ) { + function delete( $reason, $suppress = false, $user = null ) { $this->readOnlyError(); }