Loading patches/011-privacy-settings.patch +6 −0 Original line number Diff line number Diff line From: Akhil <akhil@e.email> Date: Tue, 07 Sep 2021 17:45 +0530 Subject: [PATCH] Removes sections in "privacy" section in personal settings This patch removes certain unnecessary sections from the "privacy" section in personal settings --- ./apps/privacy/lib/Settings/MissionSettings.php 2021-09-07 17:38:08.650902445 +0530 +++ ./apps/privacy/lib/Settings/MissionSettings-new.php 2021-09-07 17:40:30.078256502 +0530 @@ -41,8 +41,8 @@ Loading patches/012-remove-user-status-widget.patch 0 → 100644 +19 −0 Original line number Diff line number Diff line From: Akhil <akhil@e.email> Date: Fri, 17 Sep 2021 13:00 +0530 Subject: [PATCH] Removes user status widget from Dashboard This patch removes user status widget from available widgets in dashboard --- DashboardController.php 2021-09-17 12:56:19.691685082 +0530 +++ DashboardController-new.php 2021-09-17 12:59:18.906502554 +0530 @@ -111,6 +111,10 @@ ]; }, $this->dashboardManager->getWidgets()); + $widgets = array_filter($widgets, function($widget) { + return($widget['id'] !== "user_status"); + }); + $configStatuses = $this->config->getUserValue($this->userId, 'dashboard', 'statuses', ''); $statuses = json_decode($configStatuses, true); Loading
patches/011-privacy-settings.patch +6 −0 Original line number Diff line number Diff line From: Akhil <akhil@e.email> Date: Tue, 07 Sep 2021 17:45 +0530 Subject: [PATCH] Removes sections in "privacy" section in personal settings This patch removes certain unnecessary sections from the "privacy" section in personal settings --- ./apps/privacy/lib/Settings/MissionSettings.php 2021-09-07 17:38:08.650902445 +0530 +++ ./apps/privacy/lib/Settings/MissionSettings-new.php 2021-09-07 17:40:30.078256502 +0530 @@ -41,8 +41,8 @@ Loading
patches/012-remove-user-status-widget.patch 0 → 100644 +19 −0 Original line number Diff line number Diff line From: Akhil <akhil@e.email> Date: Fri, 17 Sep 2021 13:00 +0530 Subject: [PATCH] Removes user status widget from Dashboard This patch removes user status widget from available widgets in dashboard --- DashboardController.php 2021-09-17 12:56:19.691685082 +0530 +++ DashboardController-new.php 2021-09-17 12:59:18.906502554 +0530 @@ -111,6 +111,10 @@ ]; }, $this->dashboardManager->getWidgets()); + $widgets = array_filter($widgets, function($widget) { + return($widget['id'] !== "user_status"); + }); + $configStatuses = $this->config->getUserValue($this->userId, 'dashboard', 'statuses', ''); $statuses = json_decode($configStatuses, true);