Block qvitter notifications

This commit is contained in:
Bob Mottram 2017-04-23 23:12:37 +01:00
parent 5232ddb305
commit bc26972861
1 changed files with 6 additions and 0 deletions

View File

@ -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