@@ -289,3 +296,9 @@ RUN if [ "$IS_SELFHOST" = false ]; then \
# Seds to fix displayname save regression
RUN sed-i"s/'email' ||/'email'/"${BASE_DIR}/apps/settings/js/federationsettingsview.js
RUN sed-i"s/field === 'displayname'//"${BASE_DIR}/apps/settings/js/federationsettingsview.js
# 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