Skip to content

Commit

Permalink
Merge pull request #685 from hhunderter/v2.1.50
Browse files Browse the repository at this point in the history
v2.1.50
  • Loading branch information
hhunderter authored Jun 11, 2023
2 parents 48a748f + 6253acf commit 7c61d75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions application/modules/user/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,7 @@ public function getUpdate($installedVersion)

$this->db()->query("UPDATE `[prefix]_modules` SET `icon_small` = 'fa-solid fa-user' WHERE `key` = 'user';");
case "2.1.49":
$databaseConfig = new \Ilch\Config\Database($this->db());
$databaseConfig->set('userAvatarList_allowed', '0');
$this->db()->query('ALTER TABLE `[prefix]_profile_fields` ADD COLUMN `options` TEXT NOT NULL DEFAULT \'\' AFTER `addition`;');
}
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
$serverTimeZone = @date_default_timezone_get();
date_default_timezone_set('UTC');

define('VERSION', '2.1.49');
define('VERSION', '2.1.50');
define('SERVER_TIMEZONE', $serverTimeZone);
define('DEFAULT_MODULE', 'page');
define('DEFAULT_LAYOUT', 'index');
Expand Down

0 comments on commit 7c61d75

Please sign in to comment.