Standard stuff
This commit is contained in:
parent
55ee80338f
commit
4928d00e22
|
@ -1173,11 +1173,12 @@ class Diaspora {
|
||||||
private static function get_guid_from_uri($uri, $uid) {
|
private static function get_guid_from_uri($uri, $uid) {
|
||||||
|
|
||||||
$r = q("SELECT `guid` FROM `item` WHERE `uri` = '%s' AND `uid` = %d LIMIT 1", dbesc($uri), intval($uid));
|
$r = q("SELECT `guid` FROM `item` WHERE `uri` = '%s' AND `uid` = %d LIMIT 1", dbesc($uri), intval($uid));
|
||||||
if (dbm::is_result($r))
|
if (dbm::is_result($r)) {
|
||||||
return $r[0]["guid"];
|
return $r[0]["guid"];
|
||||||
else
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Processes an incoming comment
|
* @brief Processes an incoming comment
|
||||||
|
@ -2980,7 +2981,7 @@ class Diaspora {
|
||||||
|
|
||||||
$mask = 'Y-m-d\TH:i:s\Z';
|
$mask = 'Y-m-d\TH:i:s\Z';
|
||||||
|
|
||||||
/// @todo
|
/// @todo - establish "all day" events in Friendica
|
||||||
$eventdata["all_day"] = "false";
|
$eventdata["all_day"] = "false";
|
||||||
|
|
||||||
if (!$event['adjust']) {
|
if (!$event['adjust']) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user