Deleted users still appear under Add New Web Token

Deleted users still appear under Add New Web Token

by cheryl ng -
Number of replies: 2

If I create a new user, in Moodle 2.02, and then immediately delete this user, he/she will still appear in the user list box when adding a new token under Web Services.

Is this behaviour expected?  If so, why would we want to see deleted users still?

Thanks

 

 

 

Average of ratings: -
In reply to cheryl ng

Re: Deleted users still appear under Add New Web Token

by Patrick Pollet -

Hi,

 

I suspect that there is a little bit of SQL missing in admin/webservice/forms.php

near line 154

FROM {user} u

I should better see

FROM {user} u WHERE deleted=0

Cheers.

Edit: You should open this as a bug report of Moodle's tracker...

Average of ratings: Useful (1)