Code style cleanup
This commit is contained in:
parent
b21b493613
commit
be5939e02f
3 changed files with 427 additions and 447 deletions
|
|
@ -1,18 +1,20 @@
|
|||
<?php
|
||||
|
||||
require_once('include/submit.php');
|
||||
require_once('include/sync.php');
|
||||
require_once 'include/submit.php';
|
||||
require_once 'include/sync.php';
|
||||
|
||||
function submit_content(&$a) {
|
||||
|
||||
//Decode the URL.
|
||||
use Friendica\Directory\App;
|
||||
|
||||
function submit_content(App &$a)
|
||||
{
|
||||
//Decode the URL.
|
||||
$url = hex2bin(notags(trim($_GET['url'])));
|
||||
|
||||
//Currently we simply push RAW URL's to our targets.
|
||||
sync_push($url);
|
||||
|
||||
//Run the submit sequence.
|
||||
run_submit($url);
|
||||
exit;
|
||||
|
||||
}
|
||||
//Currently we simply push RAW URL's to our targets.
|
||||
sync_push($url);
|
||||
|
||||
//Run the submit sequence.
|
||||
run_submit($url);
|
||||
|
||||
exit;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue