Closed (fixed)
Project:
Excerpt
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Mar 2008 at 14:40 UTC
Updated:
3 Apr 2008 at 01:12 UTC
The function excerpt_update_5000() should return an array. Since no custom queries are being run, it should just return an empty array.
function excerpt_update_5000() {
foreach (module_list() as $module) {
$var_old = 'excerpt_option_'. $module;
$var_new = 'excerpt_'. $module;
$old = variable_get($var_old, NULL);
$new = variable_get($var_new, NULL);
// Don't overwrite existing variables.
if (isset($old) && !isset($new)) {
variable_set($var_new, $old);
variable_del($var_old);
}
}
return array();
}
Comments
Comment #1
smk-ka commentedYep, this has already been fixed in CVS. Thanks anyway!
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.