| 1 |
<?php |
<?php |
| 2 |
// $Id: contemplate.install,v 1.5.2.3 2008/12/28 23:25:59 empee584 Exp $ |
// $Id: contemplate.install,v 1.5.2.4 2009/01/06 16:03:22 jrglasgow Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 58 |
|
|
| 59 |
function contemplate_update_2() { |
function contemplate_update_2() { |
| 60 |
$ret = array(); |
$ret = array(); |
|
|
|
| 61 |
switch ($GLOBALS['db_type']) { |
switch ($GLOBALS['db_type']) { |
| 62 |
case 'mysql': |
case 'mysql': |
| 63 |
case 'mysqli': |
case 'mysqli': |
| 68 |
) /*!40100 DEFAULT CHARACTER SET utf8 */;'); |
) /*!40100 DEFAULT CHARACTER SET utf8 */;'); |
| 69 |
break; |
break; |
| 70 |
} |
} |
|
|
|
| 71 |
return $ret; |
return $ret; |
| 72 |
|
} |
| 73 |
|
|
| 74 |
|
/** |
| 75 |
|
* clear the cache to get the updates to hook_menu(). |
| 76 |
|
*/ |
| 77 |
|
function contemplate_update_6102() { |
| 78 |
|
cache_clear_all(); |
| 79 |
} |
} |
| 80 |
|
|
| 81 |
function contemplate_uninstall() { |
function contemplate_uninstall() { |