'oi_timestamp',
'oi_deleted',
'oi_sha1',
- ] + CommentStore::newKey( 'oi_description' )->getFields();
+ ] + CommentStore::getStore()->getFields( 'oi_description' );
}
/**
* - joins: (array) to include in the `$join_conds` to `IDatabase->select()`
*/
public static function getQueryInfo( array $options = [] ) {
- $commentQuery = CommentStore::newKey( 'oi_description' )->getJoin();
+ $commentQuery = CommentStore::getStore()->getJoin( 'oi_description' );
$ret = [
'tables' => [ 'oldimage' ] + $commentQuery['tables'],
'fields' => [
return false;
}
- $commentFields = CommentStore::newKey( 'oi_description' )->insert( $dbw, $comment );
+ $commentFields = CommentStore::getStore()->insert( $dbw, 'oi_description', $comment );
$dbw->insert( 'oldimage',
[
'oi_name' => $this->getName(),