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
Localisation updates from https://translatewiki.net.
[lhc/web/wiklou.git]
/
includes
/
actions
/
CreditsAction.php
diff --git
a/includes/actions/CreditsAction.php
b/includes/actions/CreditsAction.php
index
e064aab
..
c19e8fa
100644
(file)
--- a/
includes/actions/CreditsAction.php
+++ b/
includes/actions/CreditsAction.php
@@
-42,7
+42,6
@@
class CreditsAction extends FormlessAction {
* @return string HTML
*/
public function onView() {
* @return string HTML
*/
public function onView() {
- wfProfileIn( __METHOD__ );
if ( $this->page->getID() == 0 ) {
$s = $this->msg( 'nocredits' )->parse();
if ( $this->page->getID() == 0 ) {
$s = $this->msg( 'nocredits' )->parse();
@@
-50,8
+49,6
@@
class CreditsAction extends FormlessAction {
$s = $this->getCredits( -1 );
}
$s = $this->getCredits( -1 );
}
- wfProfileOut( __METHOD__ );
-
return Html::rawElement( 'div', array( 'id' => 'mw-credits' ), $s );
}
return Html::rawElement( 'div', array( 'id' => 'mw-credits' ), $s );
}
@@
-63,7
+60,6
@@
class CreditsAction extends FormlessAction {
* @return string Html
*/
public function getCredits( $cnt, $showIfMax = true ) {
* @return string Html
*/
public function getCredits( $cnt, $showIfMax = true ) {
- wfProfileIn( __METHOD__ );
$s = '';
if ( $cnt != 0 ) {
$s = '';
if ( $cnt != 0 ) {
@@
-73,8
+69,6
@@
class CreditsAction extends FormlessAction {
}
}
}
}
- wfProfileOut( __METHOD__ );
-
return $s;
}
return $s;
}