PleaseStand has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/199172

Change subject: Remove unused class DBObject
......................................................................

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
---
M RELEASE-NOTES-1.25
M autoload.php
M includes/db/DatabaseUtility.php
3 files changed, 1 insertion(+), 24 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/72/199172/1

diff --git a/RELEASE-NOTES-1.25 b/RELEASE-NOTES-1.25
index 00ce6b1..d5868b6 100644
--- a/RELEASE-NOTES-1.25
+++ b/RELEASE-NOTES-1.25
@@ -409,6 +409,7 @@
 * 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 eacf431..892a1f7 100644
--- a/autoload.php
+++ b/autoload.php
@@ -276,7 +276,6 @@
        '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 4e5ed08..9a520ff 100644
--- a/includes/db/DatabaseUtility.php
+++ b/includes/db/DatabaseUtility.php
@@ -22,29 +22,6 @@
  */
 
 /**
- * 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
  *

-- 
To view, visit https://gerrit.wikimedia.org/r/199172
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5f9b82fffc0b4f84286b697be8d504020fe22547
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: PleaseStand <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to