aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-10-08 20:58:16 -0700
committerzotlabs <mike@macgirvin.com>2018-10-08 20:58:16 -0700
commit2cb52f88755aac62f208463e4754153bbf249c67 (patch)
tree01746da751c10a67f6064d2d1fd79af33dc73685 /include/nav.php
parent2c797807cd63850055fc65e445a605aee106530a (diff)
parent37b94bf5fa71835fe50af6f862e124e24b5db4b4 (diff)
downloadvolse-hubzilla-2cb52f88755aac62f208463e4754153bbf249c67.tar.gz
volse-hubzilla-2cb52f88755aac62f208463e4754153bbf249c67.tar.bz2
volse-hubzilla-2cb52f88755aac62f208463e4754153bbf249c67.zip
Merge branch 'dev'
Diffstat (limited to 'include/nav.php')
-rw-r--r--include/nav.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/nav.php b/include/nav.php
index b5592d7aa..d405b9f06 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -229,6 +229,11 @@ function nav($template = 'default') {
set_pconfig(local_channel(), 'system','import_system_apps', datetime_convert('UTC','UTC','now','Y-m-d'));
}
+ if(get_pconfig(local_channel(), 'system','force_import_system_apps') !== STD_VERSION) {
+ Apps::import_system_apps();
+ set_pconfig(local_channel(), 'system','force_import_system_apps', STD_VERSION);
+ }
+
$syslist = array();
$list = Apps::app_list(local_channel(), false, ['nav_featured_app', 'nav_pinned_app']);
if($list) {