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

Commit bb16b9b1 authored by Akhil's avatar Akhil 🙂
Browse files

Merge branch 'dev/disable-avatar-system-card' into 'main'

Add sed to disable avatar generation

See merge request !182
parents 6e625089 d614f194
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -204,6 +204,9 @@ RUN curl -fsSL -o oidc_login.tar.gz \
    tar -xf oidc_login.tar.gz -C ${BASE_DIR}/custom_apps && \
    rm oidc_login.tar.gz

# Remove user avatar generation for system addressbook card
RUN sed -i 's/$this->getAvatarImage($user)/null/' ${BASE_DIR}/apps/dav/lib/CardDAV/Converter.php

# Replace "Get your own free account" NC link with /e/ Account link in public pages
RUN sed -i 's/https:\/\/nextcloud.com\/signup\//https:\/\/e\.foundation\/<?php p(\$_\[\x27language\x27\]); ?>\/e-email-invite\//' ${BASE_DIR}/core/templates/layout.public.php