aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-03 19:15:11 -0800
committerfriendica <info@friendica.com>2014-03-03 19:15:11 -0800
commitbfd9f5ec87ed0b21e278ea5c94016623c9985850 (patch)
treec8763214bcb9952080afeb6568ad5680eb4f56b8 /boot.php
parent12480a13cd46b5aa747dc72b42b0d78b8852d2bb (diff)
downloadvolse-hubzilla-bfd9f5ec87ed0b21e278ea5c94016623c9985850.tar.gz
volse-hubzilla-bfd9f5ec87ed0b21e278ea5c94016623c9985850.tar.bz2
volse-hubzilla-bfd9f5ec87ed0b21e278ea5c94016623c9985850.zip
enable network/matrix expiration, this should be functional but the options have been reduced/restricted so we're only looking at network posts and ignore anything that is filed, starred, or is resource_type 'photo' (which should not be possible in non-wall posts, but we just want to be sure). Will require the adventurous tester(s) to set 'channel_expire_days' in their channel record.
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index e2a168156..f60d7fc3d 100755
--- a/boot.php
+++ b/boot.php
@@ -528,6 +528,8 @@ define ( 'ITEM_MENTIONSME', 0x0400);
define ( 'ITEM_NOCOMMENT', 0x0800); // commenting/followups are disabled
define ( 'ITEM_OBSCURED', 0x1000); // bit-mangled to protect from casual browsing by site admin
define ( 'ITEM_VERIFIED', 0x2000); // Signature verification was successful
+define ( 'ITEM_RETAINED', 0x4000); // We looked at this item once to decide whether or not to expire it, and decided not to.
+ // Don't make us evaluate this same item again.
/**
*
* Reverse the effect of magic_quotes_gpc if it is enabled.