mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
New user based item function
This commit is contained in:
parent
ef0a2f6f8d
commit
c66dcf96ac
5 changed files with 7 additions and 7 deletions
|
@ -197,7 +197,7 @@ function windowsphonepush_cron()
|
|||
$senditemtext = PConfig::get($rr['uid'], 'windowsphonepush', 'senditemtext');
|
||||
if ($senditemtext == 1) {
|
||||
// load item with the max id
|
||||
$item = Item::selectFirst(local_user(), ['author-name', 'body'], ['id' => $count[0]['max']]);
|
||||
$item = Item::selectFirst(['author-name', 'body'], ['id' => $count[0]['max']]);
|
||||
|
||||
// as user allows to send the item, we want to show the sender of the item in the toast
|
||||
// toasts are limited to one line, therefore place is limited - author shall be in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue