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 "Add SelfLinkBeginHook"
[lhc/web/wiklou.git]
/
includes
/
site
/
SiteSQLStore.php
diff --git
a/includes/site/SiteSQLStore.php
b/includes/site/SiteSQLStore.php
index
11141e0
..
f382d98
100644
(file)
--- a/
includes/site/SiteSQLStore.php
+++ b/
includes/site/SiteSQLStore.php
@@
-29,7
+29,6
@@
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class SiteSQLStore implements SiteStore {
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class SiteSQLStore implements SiteStore {
-
/**
* @since 1.21
*
/**
* @since 1.21
*
@@
-90,7
+89,7
@@
class SiteSQLStore implements SiteStore {
*
* @see SiteList::getSerialVersionId
*
*
* @see SiteList::getSerialVersionId
*
- * @return
S
tring The cache key.
+ * @return
s
tring The cache key.
*/
protected function getCacheKey() {
wfProfileIn( __METHOD__ );
*/
protected function getCacheKey() {
wfProfileIn( __METHOD__ );
@@
-115,7
+114,7
@@
class SiteSQLStore implements SiteStore {
*
* @since 1.21
*
*
* @since 1.21
*
- * @param string $source
e
ither 'cache' or 'recache'
+ * @param string $source
E
ither 'cache' or 'recache'
*
* @return SiteList
*/
*
* @return SiteList
*/
@@
-169,7
+168,10
@@
class SiteSQLStore implements SiteStore {
}
if ( $siteRow->hasField( 'language' ) ) {
}
if ( $siteRow->hasField( 'language' ) ) {
- $site->setLanguageCode( $siteRow->getField( 'language' ) === '' ? null : $siteRow->getField( 'language' ) );
+ $site->setLanguageCode( $siteRow->getField( 'language' ) === ''
+ ? null
+ : $siteRow->getField( 'language' )
+ );
}
if ( $siteRow->hasField( 'source' ) ) {
}
if ( $siteRow->hasField( 'source' ) ) {
@@
-193,7
+195,7
@@
class SiteSQLStore implements SiteStore {
*
* @since 1.22
*
*
* @since 1.22
*
- * @param Site
+ * @param Site
$site
*
* @return ORMRow
*/
*
* @return ORMRow
*/
@@
-287,7
+289,7
@@
class SiteSQLStore implements SiteStore {
*
* @param Site $site
*
*
* @param Site $site
*
- * @return bool
ean
Success indicator
+ * @return bool Success indicator
*/
public function saveSite( Site $site ) {
return $this->saveSites( array( $site ) );
*/
public function saveSite( Site $site ) {
return $this->saveSites( array( $site ) );
@@
-300,7
+302,7
@@
class SiteSQLStore implements SiteStore {
*
* @param Site[] $sites
*
*
* @param Site[] $sites
*
- * @return bool
ean
Success indicator
+ * @return bool Success indicator
*/
public function saveSites( array $sites ) {
wfProfileIn( __METHOD__ );
*/
public function saveSites( array $sites ) {
wfProfileIn( __METHOD__ );
@@
-390,7
+392,7
@@
class SiteSQLStore implements SiteStore {
*
* @see SiteStore::clear()
*
*
* @see SiteStore::clear()
*
- * @return bool
s
uccess
+ * @return bool
S
uccess
*/
public function clear() {
wfProfileIn( __METHOD__ );
*/
public function clear() {
wfProfileIn( __METHOD__ );
@@
-468,7
+470,7
@@
class Sites extends SiteSQLStore {
* @since 1.21
* @deprecated
*
* @since 1.21
* @deprecated
*
- * @param string|bool
ean false
$globalId
+ * @param string|bool $globalId
*
* @return Site
*/
*
* @return Site
*/
@@
-498,10
+500,10
@@
class Sites extends SiteSQLStore {
/**
* @deprecated
/**
* @deprecated
+ * @param string $group
* @return SiteList
*/
public function getSiteGroup( $group ) {
return $this->getSites()->getGroup( $group );
}
* @return SiteList
*/
public function getSiteGroup( $group ) {
return $this->getSites()->getGroup( $group );
}
-
}
}