rdbms: Drop IDatabase::aggregateValue()

Unused

Bug: T296960
Change-Id: I098d8e8d47709d2c754c1bb107a9a57e811ec6f4
This commit is contained in:
Amir Sarabadani 2021-12-08 11:40:20 +01:00
parent 4c5102cc28
commit 76c761a845
5 changed files with 1 additions and 27 deletions

View file

@ -263,6 +263,7 @@ because of Phabricator reports.
- ::preCommitCallbacksPending()
- ::pendingWriteRowsAffected()
- ::getServerUptime()
- ::aggregateValue()
* …
=== Deprecations in 1.38 ===

View file

@ -390,10 +390,6 @@ class DBConnRef implements IDatabase {
return $this->__call( __FUNCTION__, func_get_args() );
}
public function aggregateValue( $valuedata, $valuename = 'value' ) {
return $this->__call( __FUNCTION__, func_get_args() );
}
public function bitNot( $field ) {
return $this->__call( __FUNCTION__, func_get_args() );
}

View file

@ -2844,14 +2844,6 @@ abstract class Database implements IDatabase, IMaintainableDatabase, LoggerAware
return $result;
}
/**
* @inheritDoc
* @stable to override
*/
public function aggregateValue( $valuedata, $valuename = 'value' ) {
return $valuename;
}
/**
* @inheritDoc
* @stable to override

View file

@ -802,10 +802,6 @@ __INDEXATTR__;
return $output;
}
public function aggregateValue( $valuedata, $valuename = 'value' ) {
return $valuedata;
}
public function getSoftwareLink() {
return '[{{int:version-db-postgres-url}} PostgreSQL]';
}

View file

@ -1091,17 +1091,6 @@ interface IDatabase {
*/
public function factorConds( $condsArray );
/**
* Return aggregated value alias
*
* @param array $valuedata
* @param string $valuename
*
* @return array|string
* @deprecated Since 1.33
*/
public function aggregateValue( $valuedata, $valuename = 'value' );
/**
* @param string|int $field
* @return string