Merge pull request #530 from TheSerapher/issue-522
Fixing notifications for findblocks cron
This commit is contained in:
commit
900e559497
@ -115,7 +115,7 @@ if (empty($aAllBlocks)) {
|
|||||||
. $share->share_type
|
. $share->share_type
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($setting->getValue('disable_notification') != 1) {
|
if ($setting->getValue('disable_notifications') != 1) {
|
||||||
// Notify users
|
// Notify users
|
||||||
$aAccounts = $notification->getNotificationAccountIdByType('new_block');
|
$aAccounts = $notification->getNotificationAccountIdByType('new_block');
|
||||||
if (is_array($aAccounts)) {
|
if (is_array($aAccounts)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user