Don't remove from conversation table
This commit is contained in:
parent
8a34b22417
commit
f2d1f0f860
|
@ -365,9 +365,6 @@ function gnusocial_block_user_script {
|
|||
echo ' if [ $ctr -gt 0 ]; then' >> /usr/bin/gnusocial-delete-user
|
||||
echo ' #echo "Removing user ID $id on $remove_domain"' >> /usr/bin/gnusocial-delete-user
|
||||
echo '' >> /usr/bin/gnusocial-delete-user
|
||||
echo ' database_query="delete from conversation where uri like "%${remove_domain}%";"' >> /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 reply where 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 '' >> /usr/bin/gnusocial-delete-user
|
||||
|
|
Loading…
Reference in New Issue