From 8adc41248d3c2041c3f1f3fb298afb8cbc756cb1 Mon Sep 17 00:00:00 2001 From: Bryan Tong Minh Date: Fri, 30 May 2008 18:19:02 +0000 Subject: [PATCH] Forgot to remove the newFileFrom row thingies from ForeignDBRepo --- includes/filerepo/ForeignDBRepo.php | 6 ------ includes/filerepo/ForeignDBViaLBRepo.php | 6 ------ 2 files changed, 12 deletions(-) diff --git a/includes/filerepo/ForeignDBRepo.php b/includes/filerepo/ForeignDBRepo.php index 294997f895..e078dd25bc 100644 --- a/includes/filerepo/ForeignDBRepo.php +++ b/includes/filerepo/ForeignDBRepo.php @@ -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']; diff --git a/includes/filerepo/ForeignDBViaLBRepo.php b/includes/filerepo/ForeignDBViaLBRepo.php index 7648c23468..13c9f434f2 100644 --- a/includes/filerepo/ForeignDBViaLBRepo.php +++ b/includes/filerepo/ForeignDBViaLBRepo.php @@ -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']; -- 2.20.1