diff options
author | zotlabs <mike@macgirvin.com> | 2018-07-05 21:55:03 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-07-05 21:55:03 -0700 |
commit | fe44ebee93da2b0c4256cd2dcf5d509ce96ac2d2 (patch) | |
tree | 5cf4a4611f38e81b23007602b89d07c8305902bb | |
parent | c80e009cf3750f559c18c526ebac62def7c3defb (diff) | |
download | volse-hubzilla-fe44ebee93da2b0c4256cd2dcf5d509ce96ac2d2.tar.gz volse-hubzilla-fe44ebee93da2b0c4256cd2dcf5d509ce96ac2d2.tar.bz2 volse-hubzilla-fe44ebee93da2b0c4256cd2dcf5d509ce96ac2d2.zip |
change to import system apps at most once a day per person
-rw-r--r-- | include/nav.php | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |