Block qvitter notifications
This commit is contained in:
parent
5232ddb305
commit
bc26972861
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue