| 1 |
<?php |
<?php |
| 2 |
// $Id: nodefamily.install,v 1.4.2.4 2007/02/28 16:38:31 fago Exp $ |
// $Id: nodefamily.install,v 1.4.2.5 2007/04/28 17:44:30 fago Exp $ |
| 3 |
|
|
| 4 |
function nodefamily_install() { |
function nodefamily_install() { |
| 5 |
switch ($GLOBALS['db_type']) { |
switch ($GLOBALS['db_type']) { |
| 65 |
*/ |
*/ |
| 66 |
function nodefamily_update_2() { |
function nodefamily_update_2() { |
| 67 |
$ret = array(); |
$ret = array(); |
| 68 |
if (module_exists('views_fusion')) { |
if (module_exists('views_fusion')) { |
| 69 |
$ret[] = update_sql("UPDATE {views_fusion} SET uses = 'nodefamily_parent' WHERE uses = 'nodefamily'"); |
$ret[] = update_sql("UPDATE {views_fusion} SET uses = 'nodefamily_parent' WHERE uses = 'nodefamily'"); |
| 70 |
} |
} |
| 71 |
return $ret; |
return $ret; |