From fe44ebee93da2b0c4256cd2dcf5d509ce96ac2d2 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Thu, 5 Jul 2018 21:55:03 -0700 Subject: change to import system apps at most once a day per person --- include/nav.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/nav.php') diff --git a/include/nav.php b/include/nav.php index 5642f438f..41358c93e 100644 --- a/include/nav.php +++ b/include/nav.php @@ -212,9 +212,9 @@ function nav($template = 'default') { //app bin if($is_owner) { - if(get_pconfig(local_channel(), 'system','initial_import_system_apps') === false) { + if(get_pconfig(local_channel(), 'system','import_system_apps') !== datetime_convert('UTC','UTC','now','Y-m-d')) { Zlib\Apps::import_system_apps(); - set_pconfig(local_channel(), 'system','initial_import_system_apps', 1); + set_pconfig(local_channel(), 'system','import_system_apps', datetime_convert('UTC','UTC','now','Y-m-d')); } $syslist = array(); -- cgit v1.2.3