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

Drop an index.

Parameters

string $table: The table to be altered.

string $name: The name of the index.

Return value

bool: 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 603
Generic Database schema code.

Class

DatabaseSchema
Base class for database schema definitions.

Code

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