Some Bugfixings
- Remove 'adjust' from ping list ( FollowUp 9935e8e711
)
- Fix Photo::selectFirst condition/parameter mixup
This commit is contained in:
parent
d5285da970
commit
3900cf9874
2 changed files with 2 additions and 2 deletions
|
@ -207,7 +207,7 @@ function ping_init(App $a)
|
|||
$cachekey = "ping_init:".local_user();
|
||||
$ev = DI::cache()->get($cachekey);
|
||||
if (is_null($ev)) {
|
||||
$ev = DBA::selectToArray('event', ['type', 'start', 'adjust'],
|
||||
$ev = DBA::selectToArray('event', ['type', 'start'],
|
||||
["`uid` = ? AND `start` < ? AND `finish` > ? AND NOT `ignore`",
|
||||
local_user(), DateTimeFormat::utc('now + 7 days'), DateTimeFormat::utcNow()]);
|
||||
if (DBA::isResult($ev)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue