src/Core/Logic/Installation/BundleInstaller.php
private function CleanForeignKeys($table)
    {
        $foreignKeys = $this->connection->GetForeignKeys($table);
        foreach ($foreignKeys as $foreignKey)
        {
            $this->connection->DropForeignKey($table, $foreignKey);
        }
    }
private function CleanForeignKeys($table)
    {
        $foreignKeys = $this->connection->GetForeignKeys($table);
        foreach ($foreignKeys as $foreignKey)
        {
            $this->connection->DropForeignKey($table, $foreignKey);
        }
    }
private function CleanForeignKeys ( $ table ) { $ foreignKeys = $ this -> connection -> GetForeignKeys ( $ table ) ; foreach ( $ foreignKeys as $ foreignKey ) { $ this -> connection -> DropForeignKey ( $ table , $ foreignKey ) ; } }
Cleans all foreign keys of a table
@param strign $table The table name
Cleans all foreign keys of a table