Commit 26d3d3e7 authored by zYne's avatar zYne

--no commit message

--no commit message
parent 7ca8d64e
......@@ -51,7 +51,7 @@ class Doctrine_I18n extends Doctrine_Plugin
throw new Doctrine_I18n_Exception('Fields not set.');
}
$this->_options['className'] = str_replace('%CLASS%',
$this->_options['className'] = str_replace('%CLASS%',
$this->_options['table']->getComponentName(),
$this->_options['className']);
......@@ -73,12 +73,8 @@ class Doctrine_I18n extends Doctrine_Plugin
unset($def['autoincrement']);
unset($def['sequence']);
unset($def['primary']);
$col = strtolower(Doctrine::tableize($name) . '_' . $column);
$def['primary'] = true;
$fk[$col] = $def;
$fk[$column] = $def;
}
$cols = $table->getColumns();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment