 ---#
 
 ---# Adding new scheduled tasks
-DELETE FROM {$db_prefix}scheduled_tasks WHERE task IN ('remove_temp_attachments', 'remove_topic_redirect', 'remove_old_drafts');
----#
-
----# Adding new scheduled tasks
 INSERT INTO {$db_prefix}scheduled_tasks
 	(next_time, time_offset, time_regularity, time_unit, disabled, task, callable)
 VALUES

---#

---# Adding the enableThemes setting.
DELETE FROM {$db_prefix}settings WHERE variable = 'enableThemes';

INSERT INTO {$db_prefix}settings
	(variable, value)
VALUES

ADD COLUMN show_mlist smallint NOT NULL default '0';
---#

---# Insert fields
INSERT INTO {$db_prefix}custom_fields (col_name, field_name, field_desc, field_type, field_length, field_options, field_order, mask, show_reg, show_display, show_mlist, show_profile, private, active, bbc, can_search, default_value, enclose, placement) VALUES
('cust_icq', 'ICQ', 'This is your ICQ number.', 'text', 12, '', 1, 'regex~[1-9][0-9]{4,9}~i', 0, 1, 0, 'forumprofile', 0, 1, 0, 0, '', '<a class="icq" href="//www.icq.com/people/{INPUT}" target="_blank" rel="noopener" title="ICQ - {INPUT}"><img src="{DEFAULT_IMAGES_URL}/icq.png" alt="ICQ - {INPUT}"></a>', 1);
