kopia lustrzana https://github.com/nextcloud/social
sizeof() -> empty()
rodzic
a7cee453c7
commit
dce5299325
|
|
@ -95,7 +95,7 @@ class QueueController extends Controller {
|
|||
public function asyncWithToken(string $token) {
|
||||
$requests = $this->queueService->getRequestFromToken($token, RequestQueue::STATUS_STANDBY);
|
||||
|
||||
if (sizeof($requests) > 0) {
|
||||
if (!empty($requests)) {
|
||||
$this->async();
|
||||
|
||||
$this->activityService->manageInit();
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue