Remove unused class DBObject
authorKevin Israel <pleasestand@live.com>
Mon, 23 Mar 2015 23:58:06 +0000 (19:58 -0400)
committerKevin Israel <pleasestand@live.com>
Tue, 24 Mar 2015 00:09:47 +0000 (20:09 -0400)
This was left over from a previous attempt at Oracle support,
which was removed in 1.10 (r19196 / ccf91e827a48).

Change-Id: I5f9b82fffc0b4f84286b697be8d504020fe22547

RELEASE-NOTES-1.25
autoload.php
includes/db/DatabaseUtility.php

index 00ce6b1..d5868b6 100644 (file)
@@ -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 ==
 
index eacf431..892a1f7 100644 (file)
@@ -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',
index 4e5ed08..9a520ff 100644 (file)
  * @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