r106455 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106454‎ | r106455 | r106456 >
Date:18:22, 16 December 2011
Author:aaron
Status:ok
Tags:
Comment:
Removed deprecated append functions (FileRepo no longer has the functions for this)
Modified paths:
  • /branches/FileBackend/phase3/includes/upload/UploadBase.php (modified) (history)

Diff [purge]

Index: branches/FileBackend/phase3/includes/upload/UploadBase.php
@@ -200,39 +200,6 @@
201201 }
202202
203203 /**
204 - * Append a file to the Repo file
205 - *
206 - * @deprecated since 1.19
207 - *
208 - * @param $srcPath String: path to source file
209 - * @param $toAppendPath String: path to the Repo file that will be appended to.
210 - * @return Status Status
211 - */
212 - protected function appendToUploadFile( $srcPath, $toAppendPath ) {
213 - wfDeprecated( __METHOD__, '1.19' );
214 -
215 - $repo = RepoGroup::singleton()->getLocalRepo();
216 - $status = $repo->append( $srcPath, $toAppendPath );
217 - return $status;
218 - }
219 -
220 - /**
221 - * Finish appending to the Repo file
222 - *
223 - * @deprecated since 1.19
224 - *
225 - * @param $toAppendPath String: path to the Repo file that will be appended to.
226 - * @return Status Status
227 - */
228 - protected function appendFinish( $toAppendPath ) {
229 - wfDeprecated( __METHOD__, '1.19' );
230 -
231 - $repo = RepoGroup::singleton()->getLocalRepo();
232 - $status = $repo->appendFinish( $toAppendPath );
233 - return $status;
234 - }
235 -
236 - /**
237204 * @param $srcPath String: the source path
238205 * @return the real path if it was a virtual URL
239206 */

Status & tagging log