homepage revisions
This commit is contained in:
@@ -169,6 +169,15 @@ function notifier_run($argv, $argc){
|
||||
|
||||
}
|
||||
elseif($cmd === 'expire') {
|
||||
|
||||
// FIXME
|
||||
// This will require a special zot packet containing a list of item message_id's to be expired.
|
||||
// This packet will be public, since we cannot selectively deliver here.
|
||||
// We need the handling on this end to create the array, and the handling on the remote end
|
||||
// to verify permissions (for each item) and process it. Until this is complete, the expire feature will be disabled.
|
||||
|
||||
return;
|
||||
|
||||
$normal_mode = false;
|
||||
$expire = true;
|
||||
$items = q("SELECT * FROM item WHERE uid = %d AND ( item_flags & %d )
|
||||
@@ -182,13 +191,6 @@ function notifier_run($argv, $argc){
|
||||
if(! $items)
|
||||
return;
|
||||
|
||||
// FIXME
|
||||
// This will require a special zot packet containing a list of item message_id's to be expired.
|
||||
// This packet will be public, since we cannot selectively deliver here.
|
||||
// We need the handling on this end to create the array, and the handling on the remote end
|
||||
// to verify permissions (for each item) and process it. Until this is complete, the expire feature will be disabled.
|
||||
|
||||
return;
|
||||
}
|
||||
elseif($cmd === 'suggest') {
|
||||
$normal_mode = false;
|
||||
@@ -423,7 +425,6 @@ function notifier_run($argv, $argc){
|
||||
|
||||
$sql_extra = (($private) ? "" : " or hubloc_url = '" . dbesc(z_root()) . "' ");
|
||||
|
||||
|
||||
if($relay_to_owner && (! $private) && ($cmd !== 'relay')) {
|
||||
|
||||
// If sending a followup to the post owner, only send it to one channel clone - to avoid race conditions.
|
||||
|
||||
Reference in New Issue
Block a user