Remove obvious function-level profiling

Change-Id: I498d79d99ab6016cadf502f4c606a7a911470250
This commit is contained in:
Chad Horohoe 2015-02-10 14:32:58 -08:00
parent 46f2d7c46d
commit 4a09f730e3
2 changed files with 0 additions and 6 deletions

View file

@ -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__ );
}
/**

View file

@ -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__ );
}
/**