r34593 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r34592‎ | r34593 | r34594 >
Date:17:41, 10 May 2008
Author:ialex
Status:old
Tags:
Comment:
E_STRICT
Modified paths:
  • /trunk/phase3/includes/filerepo/ForeignDBFile.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/ForeignDBFile.php
@@ -1,7 +1,7 @@
22 <?php
33
44 class ForeignDBFile extends LocalFile {
5 - static function newFromTitle( $title, $repo ) {
 5+ static function newFromTitle( $title, $repo, $unused = null ) {
66 return new self( $title, $repo );
77 }
88
@@ -15,20 +15,21 @@
1616 }
1717 }
1818
19 - function publish( /*...*/ ) {
 19+ function publish( $srcPath, $flags = 0 ) {
2020 $this->readOnlyError();
2121 }
2222
23 - function recordUpload( /*...*/ ) {
 23+ function recordUpload( $oldver, $desc, $license = '', $copyStatus = '', $source = '',
 24+ $watch = false, $timestamp = false ) {
2425 $this->readOnlyError();
2526 }
26 - function restore( /*...*/ ) {
 27+ function restore( $versions = array(), $unsuppress = false ) {
2728 $this->readOnlyError();
2829 }
29 - function delete( /*...*/ ) {
 30+ function delete( $reason, $suppress = false ) {
3031 $this->readOnlyError();
3132 }
32 - function move( /*...*/ ) {
 33+ function move( $target ) {
3334 $this->readOnlyError();
3435 }
3536

Status & tagging log