diff --git a/src/freedombone-utils-gnusocialtools b/src/freedombone-utils-gnusocialtools index 48551e9e..4c2140c6 100755 --- a/src/freedombone-utils-gnusocialtools +++ b/src/freedombone-utils-gnusocialtools @@ -412,6 +412,9 @@ function gnusocial_block_user_script { echo '' >> /usr/bin/gnusocial-delete-user echo ' database_query="delete from profile where id=${id};"' >> /usr/bin/gnusocial-delete-user echo ' mysql -u root --password="$MARIADB_PASSWORD" -e "$database_query" $database_name' >> /usr/bin/gnusocial-delete-user + echo '' >> /usr/bin/gnusocial-delete-user + echo ' database_query="delete from qvitternotification where to_profile_id=${id} or from_profile_id=${id};"' >> /usr/bin/gnusocial-delete-user + echo ' mysql -u root --password="$MARIADB_PASSWORD" -e "$database_query" $database_name' >> /usr/bin/gnusocial-delete-user echo ' fi' >> /usr/bin/gnusocial-delete-user echo ' ctr=$((ctr + 1))' >> /usr/bin/gnusocial-delete-user echo 'done' >> /usr/bin/gnusocial-delete-user @@ -469,6 +472,9 @@ function gnusocial_block_domain_script { echo '' >> /usr/bin/gnusocial-delete-domain echo ' database_query="delete from profile where id=${id};"' >> /usr/bin/gnusocial-delete-domain echo ' mysql -u root --password="$MARIADB_PASSWORD" -e "$database_query" $database_name' >> /usr/bin/gnusocial-delete-domain + echo '' >> /usr/bin/gnusocial-delete-domain + echo ' database_query="delete from qvitternotification where to_profile_id=${id} or from_profile_id=${id};"' >> /usr/bin/gnusocial-delete-domain + echo ' mysql -u root --password="$MARIADB_PASSWORD" -e "$database_query" $database_name' >> /usr/bin/gnusocial-delete-domain echo ' fi' >> /usr/bin/gnusocial-delete-domain echo ' ctr=$((ctr + 1))' >> /usr/bin/gnusocial-delete-domain echo 'done' >> /usr/bin/gnusocial-delete-domain