mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
Remove obvious function-level profiling
Change-Id: I498d79d99ab6016cadf502f4c606a7a911470250
This commit is contained in:
parent
46f2d7c46d
commit
4a09f730e3
|
@ -7,7 +7,6 @@ class ApiEchoNotifications extends ApiQueryBase {
|
|||
}
|
||||
|
||||
public function execute() {
|
||||
wfProfileIn( __METHOD__ );
|
||||
// To avoid API warning, register the parameter used to bust browser cache
|
||||
$this->getMain()->getVal( '_' );
|
||||
|
||||
|
@ -66,7 +65,6 @@ class ApiEchoNotifications extends ApiQueryBase {
|
|||
|
||||
$this->getResult()->setIndexedTagName( $result, 'notification' );
|
||||
$this->getResult()->addValue( 'query', $this->getModuleName(), $result );
|
||||
wfProfileOut( __METHOD__ );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -100,8 +100,6 @@ abstract class MWEchoEmailBatch {
|
|||
* Wrapper function that calls other functions required to process email batch
|
||||
*/
|
||||
public function process() {
|
||||
wfProfileIn( __METHOD__ );
|
||||
|
||||
// if there is no event for this user, exist the process
|
||||
if ( !$this->setLastEvent() ) {
|
||||
return;
|
||||
|
@ -125,8 +123,6 @@ abstract class MWEchoEmailBatch {
|
|||
|
||||
$this->clearProcessedEvent();
|
||||
$this->updateUserLastBatchTimestamp();
|
||||
|
||||
wfProfileOut( __METHOD__ );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue