$this->addWhereRange( 'cl_from', $dir, null, null );
} else {
if ( $params['startsortkeyprefix'] !== null ) {
- $startsortkey = Collation::singleton()->getSortkey( $params['startsortkeyprefix'] );
+ $startsortkey = Collation::singleton()->getSortKey( $params['startsortkeyprefix'] );
} elseif ( $params['starthexsortkey'] !== null ) {
if ( !$this->validateHexSortkey( $params['starthexsortkey'] ) ) {
$this->dieUsage( 'The starthexsortkey provided is not valid', 'bad_starthexsortkey' );
}
$startsortkey = pack( 'H*', $params['starthexsortkey'] );
} else {
- if ( $params['startsortkey'] !== null ) {
- $this->logFeatureUsage( 'list=categorymembers&cmstartsortkey' );
- }
$startsortkey = $params['startsortkey'];
}
if ( $params['endsortkeyprefix'] !== null ) {
- $endsortkey = Collation::singleton()->getSortkey( $params['endsortkeyprefix'] );
+ $endsortkey = Collation::singleton()->getSortKey( $params['endsortkeyprefix'] );
} elseif ( $params['endhexsortkey'] !== null ) {
if ( !$this->validateHexSortkey( $params['endhexsortkey'] ) ) {
$this->dieUsage( 'The endhexsortkey provided is not valid', 'bad_endhexsortkey' );
}
$endsortkey = pack( 'H*', $params['endhexsortkey'] );
} else {
- if ( $params['endsortkey'] !== null ) {
- $this->logFeatureUsage( 'list=categorymembers&cmendsortkey' );
- }
$endsortkey = $params['endsortkey'];
}