mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 18:38:49 +00:00
Update Twitter addon documentation, file comment
- Fix formatting
This commit is contained in:
parent
75d5fbbc70
commit
c0836419b7
4 changed files with 75 additions and 67 deletions
|
@ -1,10 +1,12 @@
|
|||
<?php
|
||||
|
||||
use Friendica\Core\Config;
|
||||
|
||||
function twitter_sync_run($argv, $argc) {
|
||||
function twitter_sync_run($argv, $argc)
|
||||
{
|
||||
global $a;
|
||||
|
||||
require_once("addon/twitter/twitter.php");
|
||||
require_once 'addon/twitter/twitter.php';
|
||||
|
||||
if (function_exists('sys_getloadavg')) {
|
||||
$load = sys_getloadavg();
|
||||
|
@ -27,4 +29,3 @@ function twitter_sync_run($argv, $argc) {
|
|||
twitter_fetchhometimeline($a, $uid);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue