We would like delete most of our manual accounts created years ago.
Is it a good idea to just write a query to update the deleted field to “1” then do an actual sql delete statement physically remove these records?
Or what better way is there and how can I call and use a php function to do this instead outside if moodle?
for example php -v /moodlepath/deleteusers.php -auth manual
something like that?