dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Fix param doc of ChangeTagsList::updateChangeTagsOnAll"
[lhc/web/wiklou.git]
/
includes
/
WikiMap.php
diff --git
a/includes/WikiMap.php
b/includes/WikiMap.php
index
23b0e3e
..
f2641f4
100644
(file)
--- a/
includes/WikiMap.php
+++ b/
includes/WikiMap.php
@@
-286,15
+286,6
@@
class WikiMap {
: (string)$domain->getDatabase();
}
: (string)$domain->getDatabase();
}
- /**
- * @param string $domain
- * @return string
- * @deprecated Since 1.33; use getWikiIdFromDbDomain()
- */
- public static function getWikiIdFromDomain( $domain ) {
- return self::getWikiIdFromDbDomain( $domain );
- }
-
/**
* @return DatabaseDomain Database domain of the current wiki
* @since 1.33
/**
* @return DatabaseDomain Database domain of the current wiki
* @since 1.33
@@
-311,7
+302,7
@@
class WikiMap {
* @since 1.33
*/
public static function isCurrentWikiDbDomain( $domain ) {
* @since 1.33
*/
public static function isCurrentWikiDbDomain( $domain ) {
- return self::getCurrentWikiDbDomain()->equals(
DatabaseDomain::newFromId( $domain )
);
+ return self::getCurrentWikiDbDomain()->equals(
$domain
);
}
/**
}
/**