diff options
Diffstat (limited to 'includes/database/select.inc')
-rw-r--r-- | includes/database/select.inc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/includes/database/select.inc b/includes/database/select.inc index b0d0eb275..7780fc5cd 100644 --- a/includes/database/select.inc +++ b/includes/database/select.inc @@ -6,8 +6,6 @@ * @{ */ -require_once dirname(__FILE__) . '/query.inc'; - /** * Interface for extendable query objects. * @@ -644,9 +642,7 @@ class SelectQueryExtender implements SelectQueryInterface { /* Implementations of QueryExtendableInterface. */ public function extend($extender_name) { - // The extender can be anywhere so this needs to go to the registry, which - // is surely loaded by now. - $class = $this->connection->getDriverClass($extender_name, array(), TRUE); + $class = $this->connection->getDriverClass($extender_name); return new $class($this, $this->connection); } |