امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
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
