diff --git a/hosting.install b/hosting.install index 02a9199..e31cc14 100644 --- a/hosting.install +++ b/hosting.install @@ -632,3 +632,15 @@ function hosting_update_7303() { } } } + +/** + * Upgrade existing hosting_task_logs_types_display variable to an array + */ +function hosting_update_7304() { + $display = variable_get('hosting_task_logs_types_display', 'error warning info message ok status success'); + if(is_string($display)) { + $display = explode(' ', $display); + $display = array_combine($display, $display); + variable_set('hosting_task_logs_types_display', $display); + } +}