Skip to content

Commit

Permalink
Missed adding Geeklog Config upgrade changes for Likes Tooltip Feature
Browse files Browse the repository at this point in the history
For feature #1021
  • Loading branch information
eSilverStrike committed Mar 30, 2022
1 parent 34c8555 commit 419436e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sql/updates/mysql_2.2.1_to_2.2.2.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// The following entries are no longer defined in 'lib-database.php', so define them here
$_TABLES['cookiecodes'] = $_DB_table_prefix . 'cookiecodes';
$_TABLES['dateformats'] = $_DB_table_prefix . 'dateformats';
$_TABLES['maillist'] = $_DB_table_prefix . 'maillist';
$_TABLES['usercomment'] = $_DB_table_prefix . 'usercomment';
$_TABLES['userindex'] = $_DB_table_prefix . 'userindex';
$_TABLES['userinfo'] = $_DB_table_prefix . 'userinfo';
Expand Down Expand Up @@ -42,6 +43,12 @@ function update_ConfValuesFor222()

// Add IP anonymization policy
$c->add('ip_anonymization', \Geeklog\IP::POLICY_NEVER_ANONYMIZE, 'text', 0, 0, null, 2070, true, $me, 0);

// Add Likes System Tab and config options
$sg = 4; // subgroup
$fs = 51; // fieldset
$tab = 51; // tab
$c->add('likes_users_listed', 5, 'text', $sg, $fs, NULL, 1740, TRUE, $me, $tab);

return true;
}
Expand Down
7 changes: 7 additions & 0 deletions sql/updates/pgsql_2.2.1_to_2.2.2.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// The following entries are no longer defined in 'lib-database.php', so define them here
$_TABLES['cookiecodes'] = $_DB_table_prefix . 'cookiecodes';
$_TABLES['dateformats'] = $_DB_table_prefix . 'dateformats';
$_TABLES['maillist'] = $_DB_table_prefix . 'maillist';
$_TABLES['usercomment'] = $_DB_table_prefix . 'usercomment';
$_TABLES['userindex'] = $_DB_table_prefix . 'userindex';
$_TABLES['userinfo'] = $_DB_table_prefix . 'userinfo';
Expand Down Expand Up @@ -42,6 +43,12 @@ function update_ConfValuesFor222()

// Add IP anonymization policy
$c->add('ip_anonymization', \Geeklog\IP::POLICY_NEVER_ANONYMIZE, 'text', 0, 0, null, 2070, true, $me, 0);

// Add Likes System Tab and config options
$sg = 4; // subgroup
$fs = 51; // fieldset
$tab = 51; // tab
$c->add('likes_users_listed', 5, 'text', $sg, $fs, NULL, 1740, TRUE, $me, $tab);

return true;
}
Expand Down

0 comments on commit 419436e

Please sign in to comment.