item table rename parent-uri, target-type, object-type (more to come later)

This commit is contained in:
friendica
2012-08-15 22:33:37 -07:00
parent 77b334efbc
commit f7c6a6ff90
21 changed files with 144 additions and 144 deletions

View File

@@ -170,7 +170,7 @@ function notifier_run($argv, $argc){
$item['deleted'] = 1;
}
if((count($items) == 1) && ($items[0]['id'] === $target_item['id']) && ($items[0]['uri'] === $items[0]['parent-uri'])) {
if((count($items) == 1) && ($items[0]['id'] === $target_item['id']) && ($items[0]['uri'] === $items[0]['parent_uri'])) {
logger('notifier: top level post');
$top_level = true;
}
@@ -365,7 +365,7 @@ function notifier_run($argv, $argc){
'$subject' => xmlify($item['title']),
'$created' => xmlify(datetime_convert('UTC', 'UTC', $item['created'] . '+00:00' , ATOM_TIME)),
'$content' => xmlify($body),
'$parent_id' => xmlify($item['parent-uri'])
'$parent_id' => xmlify($item['parent_uri'])
));
}
elseif($fsuggest) {