list=categorymembers&cmstartsortkey was logged even the default value
was set
Bug: T100878
Change-Id: Idc52fe0c208216bc3e475d0e4b2e398cb73a6b80
}
$startsortkey = pack( 'H*', $params['starthexsortkey'] );
} else {
}
$startsortkey = pack( 'H*', $params['starthexsortkey'] );
} else {
- $this->logFeatureUsage( 'list=categorymembers&cmstartsortkey' );
+ if ( $params['startsortkey'] !== null ) {
+ $this->logFeatureUsage( 'list=categorymembers&cmstartsortkey' );
+ }
$startsortkey = $params['startsortkey'];
}
if ( $params['endsortkeyprefix'] !== null ) {
$startsortkey = $params['startsortkey'];
}
if ( $params['endsortkeyprefix'] !== null ) {
}
$endsortkey = pack( 'H*', $params['endhexsortkey'] );
} else {
}
$endsortkey = pack( 'H*', $params['endhexsortkey'] );
} else {
- $this->logFeatureUsage( 'list=categorymembers&cmendsortkey' );
+ if ( $params['endsortkey'] !== null ) {
+ $this->logFeatureUsage( 'list=categorymembers&cmendsortkey' );
+ }
$endsortkey = $params['endsortkey'];
}
$endsortkey = $params['endsortkey'];
}