]);
q("update user set expire_notification_sent = '%s' where uid = %d",
- dbesc(Temporal::convert()),
+ dbesc(Temporal::utcNow()),
intval($rr['uid'])
);
}
}
$r = q("UPDATE `item` SET `deleted` = 1, `unseen` = 1, `changed` = '%s' WHERE `verb` = '%s' AND `uid` = %d AND `contact-id` = %d AND `thr-parent` = '%s'",
- dbesc(Temporal::convert()),
+ dbesc(Temporal::utcNow()),
dbesc(ACTIVITY_LIKE),
intval($uid),
intval($contactid),
`location`, `about`, `writable`, `blocked`, `readonly`, `pending` )
VALUES (%d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d, '%s', '%s', %d, 0, 0, 0)",
intval($uid),
- dbesc(Temporal::convert()),
+ dbesc(Temporal::utcNow()),
dbesc($contact->url),
dbesc(normalise_link($contact->url)),
dbesc(str_replace("acct:", "", $contact->id)),
`location`, `about`, `writable`, `blocked`, `readonly`, `pending` )
VALUES ( %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d, '%s', '%s', %d, 0, 0, 0 ) ",
intval($uid),
- dbesc(Temporal::convert()),
+ dbesc(Temporal::utcNow()),
dbesc($contact->statusnet_profile_url),
dbesc(normalise_link($contact->statusnet_profile_url)),
dbesc(statusnet_address($contact)),
dbesc($photos[0]),
dbesc($photos[1]),
dbesc($photos[2]),
- dbesc(Temporal::convert()),
+ dbesc(Temporal::utcNow()),
intval($contact_id)
);
} else {
dbesc($photos[0]),
dbesc($photos[1]),
dbesc($photos[2]),
- dbesc(Temporal::convert()),
- dbesc(Temporal::convert()),
- dbesc(Temporal::convert()),
+ dbesc(Temporal::utcNow()),
+ dbesc(Temporal::utcNow()),
+ dbesc(Temporal::utcNow()),
dbesc($contact->statusnet_profile_url),
dbesc(normalise_link($contact->statusnet_profile_url)),
dbesc(statusnet_address($contact)),
]);
q("update user set expire_notification_sent = '%s' where uid = %d",
- dbesc(Temporal::convert()),
+ dbesc(Temporal::utcNow()),
intval($rr['uid'])
);
`location`, `about`, `writable`, `blocked`, `readonly`, `pending`)
VALUES (%d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d, '%s', '%s', %d, 0, 0, 0)",
intval($uid),
- dbesc(Temporal::convert()),
+ dbesc(Temporal::utcNow()),
dbesc("https://twitter.com/" . $contact->screen_name),
dbesc(normalise_link("https://twitter.com/" . $contact->screen_name)),
dbesc($contact->screen_name."@twitter.com"),
dbesc($photos[0]),
dbesc($photos[1]),
dbesc($photos[2]),
- dbesc(Temporal::convert()),
- dbesc(Temporal::convert()),
- dbesc(Temporal::convert()),
+ dbesc(Temporal::utcNow()),
+ dbesc(Temporal::utcNow()),
+ dbesc(Temporal::utcNow()),
intval($contact_id)
);
}
dbesc($photos[0]),
dbesc($photos[1]),
dbesc($photos[2]),
- dbesc(Temporal::convert()),
- dbesc(Temporal::convert()),
- dbesc(Temporal::convert()),
+ dbesc(Temporal::utcNow()),
+ dbesc(Temporal::utcNow()),
+ dbesc(Temporal::utcNow()),
dbesc("https://twitter.com/".$contact->screen_name),
dbesc(normalise_link("https://twitter.com/".$contact->screen_name)),
dbesc($contact->screen_name."@twitter.com"),