diff --git a/patches/011-privacy-settings.patch b/patches/011-privacy-settings.patch index 26647694ece66b442c952a757415d530b5cbe148..17300809c92f1e4f56960be2301e7a7c2d8aebdb 100644 --- a/patches/011-privacy-settings.patch +++ b/patches/011-privacy-settings.patch @@ -1,3 +1,9 @@ +From: Akhil +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 @@ diff --git a/patches/012-remove-user-status-widget.patch b/patches/012-remove-user-status-widget.patch new file mode 100644 index 0000000000000000000000000000000000000000..7aeaa05c2ab0a3461815711da06ab7837ffcaca1 --- /dev/null +++ b/patches/012-remove-user-status-widget.patch @@ -0,0 +1,19 @@ +From: Akhil +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);