mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-18 21:03:42 +00:00
16 lines
332 B
PHP
16 lines
332 B
PHP
<?php
|
|
|
|
use Friendica\Core\Logger;
|
|
|
|
function bluesky_timeline_run($argv, $argc)
|
|
{
|
|
require_once 'addon/bluesky/bluesky.php';
|
|
|
|
if ($argc != 2) {
|
|
return;
|
|
}
|
|
|
|
Logger::notice('importing timeline - start', ['user' => $argv[1]]);
|
|
bluesky_fetch_timeline($argv[1]);
|
|
Logger::notice('importing timeline - done', ['user' => $argv[1]]);
|
|
}
|