Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 946cdbab authored by Akhil's avatar Akhil 🙂
Browse files

Added patch to remove development notice section in personal info settings

parent 4d9efd33
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -83,6 +83,7 @@ RUN cd ${BASE_DIR} && patch -p0 < ${TMP_PATCH_DIR}/005-autocomplete-user-leak-co
RUN cd ${BASE_DIR}/custom_apps && patch -p0 < ${TMP_PATCH_DIR}/005-autocomplete-user-leak-custom-app.patch
RUN cd ${BASE_DIR} && patch -p0 < ${TMP_PATCH_DIR}/006-recovery-email-changes.patch
# RUN patch -u ${BASE_DIR}/apps/files_trashbin/lib/Storage.php -i ${TMP_PATCH_DIR}/007-files-trashbin-parent-wrapper.patch
RUN patch -u ${BASE_DIR}/apps/settings/lib/Settings/Personal/ServerDevNotice.php -i ${TMP_PATCH_DIR}/008-remove-dev-notice.patch
RUN rm -rf ${TMP_PATCH_DIR}

# autocomplete leak tweak apps frontend with sed, disable group suggestion
+24 −0
Original line number Diff line number Diff line
From: Akhil <akhil@e.email>
Date: Tue, 6 Jul 2021 16:20:00 +0530
Subject: [PATCH] Remove development notice portion in personal info settings

This patch removes the development notice portion in personal info settings

diff --git ./apps/settings/lib/Settings/ServerDevNotice.php ./apps/settings/lib/Settings/ServerDevNotice-new.php
--- ./apps/settings/lib/Settings/ServerDevNotice.php	2021-07-06 16:16:44.706709243 +0530
+++ ./apps/settings/lib/Settings/ServerDevNotice-new.php	2021-07-06 16:19:56.479687126 +0530
@@ -100,11 +100,12 @@
 	 * @return string the section ID, e.g. 'sharing'
 	 */
 	public function getSection() {
-		if ($this->registry->delegateHasValidSubscription()) {
+		/*if ($this->registry->delegateHasValidSubscription()) {
 			return null;
 		}
 
-		return 'personal-info';
+        return 'personal-info';*/
+        return null;
 	}
 
 	/**