|
|
|
|
362
|
echo 'for id in $ids' >> /usr/bin/gnusocial-delete-domain
|
362
|
echo 'for id in $ids' >> /usr/bin/gnusocial-delete-domain
|
363
|
echo 'do' >> /usr/bin/gnusocial-delete-domain
|
363
|
echo 'do' >> /usr/bin/gnusocial-delete-domain
|
364
|
echo ' if [ $ctr -gt 0 ]; then' >> /usr/bin/gnusocial-delete-domain
|
364
|
echo ' if [ $ctr -gt 0 ]; then' >> /usr/bin/gnusocial-delete-domain
|
365
|
- echo ' echo "Removing user ID $id on $remove_domain"' >> /usr/bin/gnusocial-delete-domain
|
|
|
|
|
365
|
+ echo ' #echo "Removing user ID $id on $remove_domain"' >> /usr/bin/gnusocial-delete-domain
|
366
|
echo '' >> /usr/bin/gnusocial-delete-domain
|
366
|
echo '' >> /usr/bin/gnusocial-delete-domain
|
367
|
echo " database_query=\"delete from conversation where uri like \"%\${remove_domain}%';\"" >> /usr/bin/gnusocial-delete-domain
|
367
|
echo " database_query=\"delete from conversation where uri like \"%\${remove_domain}%';\"" >> /usr/bin/gnusocial-delete-domain
|
368
|
echo ' mysql -u root --password="$MARIADB_PASSWORD" -e "$database_query" $database_name' >> /usr/bin/gnusocial-delete-domain
|
368
|
echo ' mysql -u root --password="$MARIADB_PASSWORD" -e "$database_query" $database_name' >> /usr/bin/gnusocial-delete-domain
|