Jeroen De Dauw has uploaded a new change for review.
https://gerrit.wikimedia.org/r/52177
Change subject: Add getTablePrefix method to DatabaseBase
......................................................................
Add getTablePrefix method to DatabaseBase
Change-Id: Ib5e4b6331f6f611ac2ceb9e150d901fd2233638b
---
M includes/db/Database.php
1 file changed, 11 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/77/52177/1
diff --git a/includes/db/Database.php b/includes/db/Database.php
index ff2f7f7..3b69fb7 100644
--- a/includes/db/Database.php
+++ b/includes/db/Database.php
@@ -3686,6 +3686,17 @@
}
/**
+ * Returns the table prefix being used by this instance.
+ *
+ * @since 1.21
+ *
+ * @return string|null
+ */
+ public function getTablePrefix() {
+ return $this->mTablePrefix;
+ }
+
+ /**
* @since 1.19
*/
public function __toString() {
--
To view, visit https://gerrit.wikimedia.org/r/52177
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib5e4b6331f6f611ac2ceb9e150d901fd2233638b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits