Index: trunk/phase3/includes/filerepo/ForeignDBFile.php |
— | — | @@ -1,7 +1,7 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | 4 | class ForeignDBFile extends LocalFile { |
5 | | - static function newFromTitle( $title, $repo ) { |
| 5 | + static function newFromTitle( $title, $repo, $unused = null ) { |
6 | 6 | return new self( $title, $repo ); |
7 | 7 | } |
8 | 8 | |
— | — | @@ -15,20 +15,21 @@ |
16 | 16 | } |
17 | 17 | } |
18 | 18 | |
19 | | - function publish( /*...*/ ) { |
| 19 | + function publish( $srcPath, $flags = 0 ) { |
20 | 20 | $this->readOnlyError(); |
21 | 21 | } |
22 | 22 | |
23 | | - function recordUpload( /*...*/ ) { |
| 23 | + function recordUpload( $oldver, $desc, $license = '', $copyStatus = '', $source = '', |
| 24 | + $watch = false, $timestamp = false ) { |
24 | 25 | $this->readOnlyError(); |
25 | 26 | } |
26 | | - function restore( /*...*/ ) { |
| 27 | + function restore( $versions = array(), $unsuppress = false ) { |
27 | 28 | $this->readOnlyError(); |
28 | 29 | } |
29 | | - function delete( /*...*/ ) { |
| 30 | + function delete( $reason, $suppress = false ) { |
30 | 31 | $this->readOnlyError(); |
31 | 32 | } |
32 | | - function move( /*...*/ ) { |
| 33 | + function move( $target ) { |
33 | 34 | $this->readOnlyError(); |
34 | 35 | } |
35 | 36 | |