Forgot to remove the newFileFrom row thingies from ForeignDBRepo
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Fri, 30 May 2008 18:19:02 +0000 (18:19 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Fri, 30 May 2008 18:19:02 +0000 (18:19 +0000)
includes/filerepo/ForeignDBRepo.php
includes/filerepo/ForeignDBViaLBRepo.php

index 294997f..e078dd2 100644 (file)
@@ -14,12 +14,6 @@ class ForeignDBRepo extends LocalRepo {
        var $fileFactory = array( 'ForeignDBFile', 'newFromTitle' );
        var $fileFromRowFactory = array( 'ForeignDBFile', 'newFromRow' );
 
-       function newFileFromRow( $row ) {
-               if ( isset( $row->img_name ) )
-                       return ForeignDBFile::newFromRow( $row, $this );
-               return parent::newFileFromRow( $row );
-       }
-
        function __construct( $info ) {
                parent::__construct( $info );
                $this->dbType = $info['dbType'];
index 7648c23..13c9f43 100644 (file)
@@ -9,12 +9,6 @@ class ForeignDBViaLBRepo extends LocalRepo {
        var $fileFactory = array( 'ForeignDBFile', 'newFromTitle' );
        var $fileFromRowFactory = array( 'ForeignDBFile', 'newFromRow' );
 
-       function newFileFromRow( $row ) {
-               if ( isset( $row->img_name ) )
-                       return ForeignDBFile::newFromRow( $row, $this );
-               return parent::newFileFromRow( $row );
-       }
-
        function __construct( $info ) {
                parent::__construct( $info );
                $this->wiki = $info['wiki'];