summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--globals.pl3
-rw-r--r--template/en/default/global/footer.html.tmpl1
2 files changed, 4 insertions, 0 deletions
diff --git a/globals.pl b/globals.pl
index b457484d8..671f1901f 100644
--- a/globals.pl
+++ b/globals.pl
@@ -1785,6 +1785,9 @@ $::vars =
# UserInGroup - you probably want to cache this
'UserInGroup' => \&UserInGroup ,
+
+ # SyncAnyPendingShadowChanges - called in the footer to sync the shadowdb
+ 'SyncAnyPendingShadowChanges' => \&SyncAnyPendingShadowChanges ,
};
1;
diff --git a/template/en/default/global/footer.html.tmpl b/template/en/default/global/footer.html.tmpl
index e8978b3a2..07fde14e9 100644
--- a/template/en/default/global/footer.html.tmpl
+++ b/template/en/default/global/footer.html.tmpl
@@ -24,3 +24,4 @@
</body>
</html>
+[% SyncAnyPendingShadowChanges() %]