Skip to content

Commit

Permalink
#84204 (by drewish, et al) make tables install UTF-8.
Browse files Browse the repository at this point in the history
  • Loading branch information
merlinofchaos committed Mar 15, 2007
1 parent bed3f0e commit 1cad0c1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.txt
@@ -1,3 +1,4 @@
Panels 4.7.x-dev

o #120919 (by grugnog) empty content caused array error
o #84204 (by drewish, et al) make tables install UTF-8.
13 changes: 9 additions & 4 deletions panels.install
@@ -1,5 +1,5 @@
<?php
// $Id: panels.install,v 1.1 2006/07/22 04:36:09 merlinofchaos Exp $
// $Id: panels.install,v 1.1.2.1 2007/03/15 18:21:23 merlinofchaos Exp $

/**
* Install the panels tables
Expand All @@ -18,7 +18,7 @@ function panels_install() {
path varchar(128),
css_id varchar(128),
layout varchar(32)
)
) /*!40100 DEFAULT CHARACTER SET utf8 */
EOT
);
db_query(<<<EOT
Expand All @@ -29,10 +29,15 @@ EOT
configuration longtext,
position int(5),
key (did)
);
) /*!40100 DEFAULT CHARACTER SET utf8 */
EOT
);

}
}

/**
* Update the tables to UTF-8
*/
function panels_update_1() {
return _system_update_utf8(array('panels_info', 'panels_area'));
}

0 comments on commit 1cad0c1

Please sign in to comment.