Skip to content

Commit 8b18d39

Browse files
author
Chris Deeming
committed
Update Install.php
1 parent 83bb4a6 commit 8b18d39

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

upload/library/LiveUpdate/Install.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public static function installer($previous)
3030
self::_runQuery('
3131
ALTER TABLE xf_user_option
3232
ADD COLUMN liveupdate_display_option MEDIUMBLOB NULL DEFAULT ?
33-
', json_encode(array('tab_icon', 'notifications_api')));
33+
', json_encode(array('tab_icon')));
3434
}
3535
else
3636
{
@@ -39,7 +39,7 @@ public static function installer($previous)
3939
self::_runQuery('
4040
ALTER TABLE xf_user_option
4141
CHANGE COLUMN liveupdate_display_option liveupdate_display_option MEDIUMBLOB NULL DEFAULT ?
42-
', json_encode(array('tab_icon', 'notifications_api')));
42+
', json_encode(array('tab_icon')));
4343

4444

4545
/**
@@ -51,19 +51,19 @@ public static function installer($previous)
5151
UPDATE xf_user_option
5252
SET liveupdate_display_option = ?
5353
WHERE liveupdate_display_option = 'tab_title'
54-
", json_encode(array('tab_title', 'notifications_api')));
54+
", json_encode(array('tab_title')));
5555

5656
self::_runQuery("
5757
UPDATE xf_user_option
5858
SET liveupdate_display_option = ?
5959
WHERE liveupdate_display_option = 'tab_icon'
60-
", json_encode(array('tab_icon', 'notifications_api')));
60+
", json_encode(array('tab_icon')));
6161

6262
self::_runQuery("
6363
UPDATE xf_user_option
6464
SET liveupdate_display_option = ?
6565
WHERE liveupdate_display_option = 'both'
66-
", json_encode(array('tab_title', 'tab_icon', 'notifications_api')));
66+
", json_encode(array('tab_title', 'tab_icon')));
6767

6868
self::_runQuery("
6969
UPDATE xf_user_option

0 commit comments

Comments
 (0)