diff -u b/core/modules/user/src/UserDataQuery.php b/core/modules/user/src/UserDataQuery.php --- b/core/modules/user/src/UserDataQuery.php +++ b/core/modules/user/src/UserDataQuery.php @@ -2,7 +2,6 @@ namespace Drupal\user; -use Drupal\Core\Database\Connection; use Drupal\Core\Database\Query\SelectInterface; /** @@ -28,16 +27,6 @@ } /** - * Factory method for the class. - * - * @param \Drupal\Core\Database\Connection $connection - * The database connection to use. - */ - public static function create(Connection $connection) { - return new static($connection->select('users_data', 'ud')); - } - - /** * {@inheritdoc} */ public function module($module) {