From: Kevin Israel Date: Mon, 23 Mar 2015 23:58:06 +0000 (-0400) Subject: Remove unused class DBObject X-Git-Tag: 1.31.0-rc.0~12011 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=cbfd6cff6d6822c554a36b7e9e1ce14a1c9e4bc2;p=lhc%2Fweb%2Fwiklou.git Remove unused class DBObject This was left over from a previous attempt at Oracle support, which was removed in 1.10 (r19196 / ccf91e827a48). Change-Id: I5f9b82fffc0b4f84286b697be8d504020fe22547 --- diff --git a/RELEASE-NOTES-1.25 b/RELEASE-NOTES-1.25 index 00ce6b14ac..d5868b6ae3 100644 --- a/RELEASE-NOTES-1.25 +++ b/RELEASE-NOTES-1.25 @@ -409,6 +409,7 @@ changes to languages because of Bugzilla reports. * EditPage::attemptSave has been modified not to call handleStatus itself and instead just returns the Status object. Extension calling it should be aware of this. +* Removed class DBObject. (unused since 1.10) == Compatibility == diff --git a/autoload.php b/autoload.php index eacf431afb..892a1f71d4 100644 --- a/autoload.php +++ b/autoload.php @@ -276,7 +276,6 @@ $wgAutoloadLocalClasses = array( 'DBFileJournal' => __DIR__ . '/includes/filebackend/filejournal/DBFileJournal.php', 'DBLockManager' => __DIR__ . '/includes/filebackend/lockmanager/DBLockManager.php', 'DBMasterPos' => __DIR__ . '/includes/db/DatabaseUtility.php', - 'DBObject' => __DIR__ . '/includes/db/DatabaseUtility.php', 'DBQueryError' => __DIR__ . '/includes/db/DatabaseError.php', 'DBSiteStore' => __DIR__ . '/includes/site/DBSiteStore.php', 'DBUnexpectedError' => __DIR__ . '/includes/db/DatabaseError.php', diff --git a/includes/db/DatabaseUtility.php b/includes/db/DatabaseUtility.php index 4e5ed08cf8..9a520ff980 100644 --- a/includes/db/DatabaseUtility.php +++ b/includes/db/DatabaseUtility.php @@ -21,29 +21,6 @@ * @ingroup Database */ -/** - * Utility class. - * @ingroup Database - */ -class DBObject { - public $mData; - - function __construct( $data ) { - $this->mData = $data; - } - - /** - * @return bool - */ - function isLOB() { - return false; - } - - function data() { - return $this->mData; - } -} - /** * Utility class * @ingroup Database