mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-01 04:13:14 +00:00
17 lines
352 B
PHP
17 lines
352 B
PHP
|
<?php
|
||
|
|
||
|
use Friendica\Core\Logger;
|
||
|
|
||
|
function bluesky_notifications_run($argv, $argc)
|
||
|
{
|
||
|
require_once 'addon/bluesky/bluesky.php';
|
||
|
|
||
|
if ($argc != 2) {
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
Logger::notice('importing notifications - start', ['user' => $argv[1]]);
|
||
|
bluesky_fetch_notifications($argv[1]);
|
||
|
Logger::notice('importing notifications - done', ['user' => $argv[1]]);
|
||
|
}
|