Hello all!
I have built an
It uses as intended a
We're talking about User entity which fetched as
On
PHP:
The problem: script was returning...
Read more
Читать далее...
I have built an
\XF\Job\AbstractRebuildJob
extension class for running my own rebuilding job.It uses as intended a
protected function getNextIds($start, $batch)
method and the protected function rebuildById($id)
.We're talking about User entity which fetched as
$id
.On
rebuildById($id)
I do the following:PHP:
Код:
$user = $this->app->em()->find('XF:User', $id, []);
// [...] some checks
$user->delete(false);
The problem: script was returning...
Read more
Читать далее...