| 1 |
<?php |
<?php |
| 2 |
// $Id: copyright.install,v 1.4.4.8 2007/06/13 11:29:41 robrechtj Exp $ |
// $Id: copyright.install,v 1.4.4.9 2007/06/18 06:19:05 robrechtj Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 217 |
} |
} |
| 218 |
|
|
| 219 |
variable_del('copyright-default'); |
variable_del('copyright-default'); |
| 220 |
foreach ((array)node_get_types() as $type) { |
foreach ((array)node_get_types() as $type => $object) { |
| 221 |
variable_del('copyright-enable_'. $type); |
variable_del('copyright-enable_'. $type); |
| 222 |
} |
} |
| 223 |
} |
} |
| 327 |
return array(); |
return array(); |
| 328 |
} |
} |
| 329 |
|
|
| 330 |
|
/** |
| 331 |
|
* Update (5.x-1.6) |
| 332 |
|
* - #140679 : the menu has to be rebuilt because hook_menu() included some |
| 333 |
|
* wrong elements which causes 404's to be turned into 403's. |
| 334 |
|
*/ |
| 335 |
|
function copyright_update_7() { |
| 336 |
|
menu_rebuild(); |
| 337 |
|
return array(); |
| 338 |
|
} |
| 339 |
|
|