Permalink
Browse files

Fixed multiple column non-primary keys in DB_forge.

  • Loading branch information...
1 parent e596ea5 commit bbf017a819a14cf37e4a64a361fb7c76c7d4fb34 @harryxu committed Jan 18, 2012
Showing with 1 addition and 11 deletions.
  1. +1 −11 system/database/DB_forge.php
@@ -97,16 +97,6 @@ function drop_database($db_name)
*/
function add_key($key = '', $primary = FALSE)
{
- if (is_array($key))
- {
- foreach ($key as $one)
- {
- $this->add_key($one, $primary);
- }
-
- return;
- }
-
if ($key == '')
{
show_error('Key information is required for that operation.');
@@ -379,4 +369,4 @@ function _reset()
}
/* End of file DB_forge.php */
-/* Location: ./system/database/DB_forge.php */
+/* Location: ./system/database/DB_forge.php */

0 comments on commit bbf017a

Please sign in to comment.