🐛 (author): reindex authors on user change
This commit is contained in:
parent
617bbf49f7
commit
21787c8203
1 changed files with 6 additions and 0 deletions
|
@ -490,6 +490,8 @@ function editUser($args)
|
||||||
'notes' => $args['username']
|
'notes' => $args['username']
|
||||||
));
|
));
|
||||||
|
|
||||||
|
reindexAuthors();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -523,6 +525,8 @@ function disableUser($args)
|
||||||
'notes' => $username
|
'notes' => $username
|
||||||
));
|
));
|
||||||
|
|
||||||
|
reindexAuthors();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -567,6 +571,8 @@ function deleteUser($args)
|
||||||
'notes' => $username
|
'notes' => $username
|
||||||
));
|
));
|
||||||
|
|
||||||
|
reindexAuthors();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue