@@ -107,7 +107,7 @@ class NotificationHelper {
|
|||||||
if ($user->getUID() === $board->getOwner() && count($board->getAcl()) === 0) {
|
if ($user->getUID() === $board->getOwner() && count($board->getAcl()) === 0) {
|
||||||
// Notify if all or assigned is configured for unshared boards
|
// Notify if all or assigned is configured for unshared boards
|
||||||
$shouldNotify = true;
|
$shouldNotify = true;
|
||||||
} else if ($notificationSetting === ConfigService::SETTING_BOARD_NOTIFICATION_DUE_ASSIGNED && $this->assignedUsersMapper->isUserAssigned($card->getId(), $user->getUID())) {
|
} elseif ($notificationSetting === ConfigService::SETTING_BOARD_NOTIFICATION_DUE_ASSIGNED && $this->assignedUsersMapper->isUserAssigned($card->getId(), $user->getUID())) {
|
||||||
// Notify if the user is assigned and has the assigned setting selected
|
// Notify if the user is assigned and has the assigned setting selected
|
||||||
$shouldNotify = true;
|
$shouldNotify = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,7 +42,6 @@ use OCP\Notification\INotification;
|
|||||||
use PHPUnit\Framework\MockObject\MockObject;
|
use PHPUnit\Framework\MockObject\MockObject;
|
||||||
|
|
||||||
class DummyUser extends \OC\User\User {
|
class DummyUser extends \OC\User\User {
|
||||||
|
|
||||||
private $uid;
|
private $uid;
|
||||||
|
|
||||||
public function __construct($uid) {
|
public function __construct($uid) {
|
||||||
|
|||||||
Reference in New Issue
Block a user