aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-24 15:53:55 -0700
committerfriendica <info@friendica.com>2015-03-24 15:53:55 -0700
commit3d600088424d2e1f71c7b5ae7571a8a101e9e8e2 (patch)
tree2b621dfa76f98b3549ff6e48b61bd10970da3eef /include/identity.php
parentabf642be7fe250860f02e238da7152b9f7d464ce (diff)
downloadvolse-hubzilla-3d600088424d2e1f71c7b5ae7571a8a101e9e8e2.tar.gz
volse-hubzilla-3d600088424d2e1f71c7b5ae7571a8a101e9e8e2.tar.bz2
volse-hubzilla-3d600088424d2e1f71c7b5ae7571a8a101e9e8e2.zip
provide a site-wide expiration policy without loopholes - still need work to reduce the impact of expiration queries.
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/identity.php b/include/identity.php
index 079c1a245..af6cb74d2 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -249,9 +249,7 @@ function create_identity($arr) {
}
}
-
- $expire = get_config('system', 'default_expire_days');
- $expire = (($expire===false)? '0': $expire);
+ $expire = 0;
$r = q("insert into channel ( channel_account_id, channel_primary,
channel_name, channel_address, channel_guid, channel_guid_sig,