Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nextcloud/maps
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5e69282ef13c6f8bd783cd8c01299489539aaa30
Choose a base ref
..
head repository: nextcloud/maps
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c57268cb806e254588707ec3903619a517069738
Choose a head ref
Showing with 4 additions and 4 deletions.
  1. +4 βˆ’4 lib/Service/PhotofilesService.php
8 changes: 4 additions & 4 deletions lib/Service/PhotofilesService.php
Original file line number Diff line number Diff line change
@@ -212,17 +212,17 @@ public function deleteByFolderIdUserId($folderId, $userId) {
public function getBackgroundJobStatus($userId): array {
$add_counter = 0;
$addJobsRunning = False;
# ToDo when NC 25 is Dropped foreach ($this->jobList->getJobsIterator(AddPhotoJob::class, Null, 0) as $job) {
foreach ($this->jobList->getJobs(AddPhotoJob::class, Null, 0) as $job) {

foreach ($this->jobList->getJobsIterator(AddPhotoJob::class, Null, 0) as $job) {
if ($job->getArgument()['userId'] === $userId) {
$add_counter += 1;
}
$addJobsRunning = True;
}
$update_counter = 0;
$updateJobsRunning = False;
# ToDo when NC 25 is Dropped foreach ($this->jobList->getJobsIterator(UpdatePhotoByFileJob::class, Null, 0) as $job) {
foreach ($this->jobList->getJobs(UpdatePhotoByFileJob::class, Null, 0) as $job) {

foreach ($this->jobList->getJobsIterator(UpdatePhotoByFileJob::class, Null, 0) as $job) {
if ($job->getArgument()['userId'] === $userId) {
$update_counter += 1;
}