From: Aaron Schulz Date: Thu, 14 Mar 2013 23:46:30 +0000 (-0700) Subject: Fixed E_STRICT warning: X-Git-Tag: 1.31.0-rc.0~20338 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=9671fd3ba6ae2dc48264e40ec4e61666b0052806;p=lhc%2Fweb%2Fwiklou.git Fixed E_STRICT warning: Strict Standards: Declaration of UploadFromChunks::stashFile() should be compatible with UploadBase::stashFile(User $user = NULL) Change-Id: If14d7aeacb23df16bff94c5989cde4ee31c1d105 --- diff --git a/includes/upload/UploadFromChunks.php b/includes/upload/UploadFromChunks.php index fb0c786db2..e784e51098 100644 --- a/includes/upload/UploadFromChunks.php +++ b/includes/upload/UploadFromChunks.php @@ -66,7 +66,7 @@ class UploadFromChunks extends UploadFromFile { * * @return UploadStashFile stashed file */ - public function stashFile() { + public function stashFile( User $user = null ) { // Stash file is the called on creating a new chunk session: $this->mChunkIndex = 0; $this->mOffset = 0;