From: Derick Alangi Date: Thu, 29 Aug 2019 11:44:53 +0000 (+0100) Subject: mime,logging: Remove unused private methods X-Git-Tag: 1.34.0-rc.0~493^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=fb6e0ec767eed604a01a1414b94e8ea7af1ccc1a;p=lhc%2Fweb%2Fwiklou.git mime,logging: Remove unused private methods These methods are defined but not used. Change-Id: I91003a9a3f2a56114de5baede6a1034ee4ed8d80 --- diff --git a/includes/libs/mime/MSCompoundFileReader.php b/includes/libs/mime/MSCompoundFileReader.php index 8afaa38e02..0383def62c 100644 --- a/includes/libs/mime/MSCompoundFileReader.php +++ b/includes/libs/mime/MSCompoundFileReader.php @@ -182,11 +182,6 @@ class MSCompoundFileReader { return $this->unpack( $block, 0, $struct ); } - private function unpackSector( $sectorNumber, $struct ) { - $offset = $this->sectorOffset( $sectorNumber ); - return $this->unpackOffset( $offset, array_sum( $struct ) ); - } - private function unpack( $block, $offset, $struct ) { $data = []; foreach ( $struct as $key => $length ) { diff --git a/includes/logging/LogEventsList.php b/includes/logging/LogEventsList.php index 66be436da4..4179bd5882 100644 --- a/includes/logging/LogEventsList.php +++ b/includes/logging/LogEventsList.php @@ -220,21 +220,6 @@ class LogEventsList extends ContextSource { ]; } - private function getDefaultQuery() { - if ( !isset( $this->mDefaultQuery ) ) { - $this->mDefaultQuery = $this->getRequest()->getQueryValues(); - unset( $this->mDefaultQuery['title'] ); - unset( $this->mDefaultQuery['dir'] ); - unset( $this->mDefaultQuery['offset'] ); - unset( $this->mDefaultQuery['limit'] ); - unset( $this->mDefaultQuery['order'] ); - unset( $this->mDefaultQuery['month'] ); - unset( $this->mDefaultQuery['year'] ); - } - - return $this->mDefaultQuery; - } - /** * @param array $queryTypes * @return array Form descriptor