1 schema.inc abstract public DatabaseSchema::dropIndex($table, $name)

Drop an index.

Parameters

$table: The table to be altered.

$name: The name of the index.

Return value

TRUE if the index was successfully dropped, FALSE if there was no index: by that name to begin with.

File

core/includes/database/schema.inc, line 585
Generic Database schema code.

Class

DatabaseSchema
Base class for database schema definitions.

Code

abstract public function dropIndex($table, $name);