diff options
author | friendica <info@friendica.com> | 2014-07-06 19:15:09 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-07-06 19:15:09 -0700 |
commit | 5f4181384543a3fda7fd0101f0cbc7100584d323 (patch) | |
tree | 271fb30901ba1548adb3f6e1df88c964299f6c8d /include | |
parent | 2cd6b2cb2ac285caa2c0051f96bbccb1a8df711e (diff) | |
download | volse-hubzilla-5f4181384543a3fda7fd0101f0cbc7100584d323.tar.gz volse-hubzilla-5f4181384543a3fda7fd0101f0cbc7100584d323.tar.bz2 volse-hubzilla-5f4181384543a3fda7fd0101f0cbc7100584d323.zip |
homepage revisions
Diffstat (limited to 'include')
-rw-r--r-- | include/notifier.php | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/include/notifier.php b/include/notifier.php index 59f472539..9d5c7cb8e 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -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. |