commit
955213f598
2 changed files with 6 additions and 6 deletions
|
@ -272,7 +272,7 @@ class Notification extends BaseFactory
|
||||||
}
|
}
|
||||||
|
|
||||||
$fields = ['id', 'parent', 'verb', 'author-name', 'unseen', 'author-link', 'author-avatar', 'contact-avatar',
|
$fields = ['id', 'parent', 'verb', 'author-name', 'unseen', 'author-link', 'author-avatar', 'contact-avatar',
|
||||||
'network', 'created', 'object', 'parent-author-name', 'parent-author-link', 'parent-guid'];
|
'network', 'created', 'object', 'parent-author-name', 'parent-author-link', 'parent-guid', 'gravity'];
|
||||||
$params = ['order' => ['received' => true], 'limit' => [$start, $limit]];
|
$params = ['order' => ['received' => true], 'limit' => [$start, $limit]];
|
||||||
|
|
||||||
$formattedNotifications = [];
|
$formattedNotifications = [];
|
||||||
|
@ -313,7 +313,7 @@ class Notification extends BaseFactory
|
||||||
}
|
}
|
||||||
|
|
||||||
$fields = ['id', 'parent', 'verb', 'author-name', 'unseen', 'author-link', 'author-avatar', 'contact-avatar',
|
$fields = ['id', 'parent', 'verb', 'author-name', 'unseen', 'author-link', 'author-avatar', 'contact-avatar',
|
||||||
'network', 'created', 'object', 'parent-author-name', 'parent-author-link', 'parent-guid'];
|
'network', 'created', 'object', 'parent-author-name', 'parent-author-link', 'parent-guid', 'gravity'];
|
||||||
$params = ['order' => ['received' => true], 'limit' => [$start, $limit]];
|
$params = ['order' => ['received' => true], 'limit' => [$start, $limit]];
|
||||||
|
|
||||||
$formattedNotifications = [];
|
$formattedNotifications = [];
|
||||||
|
@ -350,7 +350,7 @@ class Notification extends BaseFactory
|
||||||
}
|
}
|
||||||
|
|
||||||
$fields = ['id', 'parent', 'verb', 'author-name', 'unseen', 'author-link', 'author-avatar', 'contact-avatar',
|
$fields = ['id', 'parent', 'verb', 'author-name', 'unseen', 'author-link', 'author-avatar', 'contact-avatar',
|
||||||
'network', 'created', 'object', 'parent-author-name', 'parent-author-link', 'parent-guid'];
|
'network', 'created', 'object', 'parent-author-name', 'parent-author-link', 'parent-guid', 'gravity'];
|
||||||
$params = ['order' => ['received' => true], 'limit' => [$start, $limit]];
|
$params = ['order' => ['received' => true], 'limit' => [$start, $limit]];
|
||||||
|
|
||||||
$formattedNotifications = [];
|
$formattedNotifications = [];
|
||||||
|
|
|
@ -79,7 +79,7 @@ class Item
|
||||||
const DELIVER_FIELDLIST = ['uid', 'id', 'parent', 'uri-id', 'uri', 'thr-parent', 'parent-uri', 'guid',
|
const DELIVER_FIELDLIST = ['uid', 'id', 'parent', 'uri-id', 'uri', 'thr-parent', 'parent-uri', 'guid',
|
||||||
'parent-guid', 'created', 'edited', 'verb', 'object-type', 'object', 'target',
|
'parent-guid', 'created', 'edited', 'verb', 'object-type', 'object', 'target',
|
||||||
'private', 'title', 'body', 'location', 'coord', 'app',
|
'private', 'title', 'body', 'location', 'coord', 'app',
|
||||||
'attach', 'deleted', 'extid', 'post-type',
|
'attach', 'deleted', 'extid', 'post-type', 'gravity',
|
||||||
'allow_cid', 'allow_gid', 'deny_cid', 'deny_gid',
|
'allow_cid', 'allow_gid', 'deny_cid', 'deny_gid',
|
||||||
'author-id', 'author-link', 'owner-link', 'contact-uid',
|
'author-id', 'author-link', 'owner-link', 'contact-uid',
|
||||||
'signed_text', 'signature', 'signer', 'network'];
|
'signed_text', 'signature', 'signer', 'network'];
|
||||||
|
@ -1066,7 +1066,7 @@ class Item
|
||||||
|
|
||||||
// clean up categories and tags so they don't end up as orphans
|
// clean up categories and tags so they don't end up as orphans
|
||||||
|
|
||||||
$matches = false;
|
$matches = [];
|
||||||
$cnt = preg_match_all('/<(.*?)>/', $item['file'], $matches, PREG_SET_ORDER);
|
$cnt = preg_match_all('/<(.*?)>/', $item['file'], $matches, PREG_SET_ORDER);
|
||||||
|
|
||||||
if ($cnt) {
|
if ($cnt) {
|
||||||
|
@ -1075,7 +1075,7 @@ class Item
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$matches = false;
|
$matches = [];
|
||||||
|
|
||||||
$cnt = preg_match_all('/\[(.*?)\]/', $item['file'], $matches, PREG_SET_ORDER);
|
$cnt = preg_match_all('/\[(.*?)\]/', $item['file'], $matches, PREG_SET_ORDER);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue