minor adjustments
This commit is contained in:
parent
ee6fd1d6e5
commit
7a082394c3
@ -13,7 +13,7 @@ function deliver_run($argv, $argc) {
|
|||||||
if($argc < 2)
|
if($argc < 2)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
logger('deliver: invoked: ' . print_r($argv,true), LOGGER_DEBUG);
|
logger('deliver: invoked: ' . print_r($argv,true), LOGGER_DATA);
|
||||||
|
|
||||||
for($x = 1; $x < $argc; $x ++) {
|
for($x = 1; $x < $argc; $x ++) {
|
||||||
$r = q("select * from outq where outq_hash = '%s' limit 1",
|
$r = q("select * from outq where outq_hash = '%s' limit 1",
|
||||||
@ -21,6 +21,7 @@ function deliver_run($argv, $argc) {
|
|||||||
);
|
);
|
||||||
if($r) {
|
if($r) {
|
||||||
if($r[0]['outq_posturl'] === z_root() . '/post') {
|
if($r[0]['outq_posturl'] === z_root() . '/post') {
|
||||||
|
logger('deliver: local delivery', LOGGER_DEBUG);
|
||||||
// local delivery
|
// local delivery
|
||||||
// we should probably batch these and save a few delivery processes
|
// we should probably batch these and save a few delivery processes
|
||||||
// If there is no outq_msg, this is a refresh_all message which does not require local handling
|
// If there is no outq_msg, this is a refresh_all message which does not require local handling
|
||||||
@ -34,6 +35,7 @@ function deliver_run($argv, $argc) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
logger('deliver: dest: ' . $r[0]['outq_posturl'], LOGGER_DEBUG);
|
||||||
$result = zot_zot($r[0]['outq_posturl'],$r[0]['outq_notify']);
|
$result = zot_zot($r[0]['outq_posturl'],$r[0]['outq_notify']);
|
||||||
if($result['success']) {
|
if($result['success']) {
|
||||||
zot_process_response($r[0]['outq_posturl'],$result, $r[0]);
|
zot_process_response($r[0]['outq_posturl'],$result, $r[0]);
|
||||||
|
3
view/css/mod_pubsites.css
Normal file
3
view/css/mod_pubsites.css
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
td {
|
||||||
|
padding: 5px;
|
||||||
|
}
|
Reference in New Issue
Block a user