mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-01-27 04:39:47 +00:00
16 lines
354 B
PHP
16 lines
354 B
PHP
<?php
|
|
|
|
use Friendica\DI;
|
|
|
|
function bluesky_notifications_run($argv, $argc)
|
|
{
|
|
require_once 'addon/bluesky/bluesky.php';
|
|
|
|
if ($argc < 2) {
|
|
return;
|
|
}
|
|
|
|
DI::logger()->notice('importing notifications - start', ['user' => $argv[1]]);
|
|
bluesky_fetch_notifications($argv[1]);
|
|
DI::logger()->notice('importing notifications - done', ['user' => $argv[1]]);
|
|
}
|