@@ -240,9 +240,6 @@ RUN sed -i "s/field === 'displayname'//" ${BASE_DIR}/apps/settings/js/federation
# Seds to allow deletion of LDAP users
RUN sed-i"s/return in_array(\$user->getBackendClassName(), \['Database', 'Guests'\]);/return in_array(\$user->getBackendClassName(), ['Database', 'Guests', 'LDAP']);/"${BASE_DIR}/custom_apps/drop_account/lib/Service/DeletionCapabilityService.php
# Seds to remove share option from notes
RUN sed-i':a;N;$!ba;s/t("NcActionButton",{on:{click:e.onToggleSharing},scopedSlots:e._u(\[{key:"icon",fn:function(){return\[t("ShareVariantIcon",{attrs:{size:20}})\]},proxy:!0}\])},\[e._v("\\n\\t\\t\\t"+e._s(e.t("notes","Share"))+"\\n\\t\\t")\]),e._v(" "),/''/g'${BASE_DIR}/custom_apps/notes/js/notes-main.js
# Add id to delete account settings section and hide it by default
RUN sed-i's/"NcSettingsSection",{attrs:{/"NcSettingsSection",{attrs:{id:"delete-account-settings-section",style:"visibility:hidden;",/'${BASE_DIR}/custom_apps/drop_account/js/drop_account-personal-settings.mjs