Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/documentserver_community.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2020-01-22 18:57:50 +0300
committerRobin Appelman <robin@icewind.nl>2020-01-22 18:57:50 +0300
commitb5372e52eecd5e3834530f26b4262dbbaf370c32 (patch)
tree8fa61b1142009fb2a4426b6c6fc22d4fa985430d /appinfo
parentf3714db8060ad34e72aad43082ca0977b65d07c3 (diff)
rebuild fonts after app update
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/update.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/appinfo/update.php b/appinfo/update.php
new file mode 100644
index 0000000..85e9d46
--- /dev/null
+++ b/appinfo/update.php
@@ -0,0 +1,7 @@
+<?php
+use OCA\DocumentServer\Document\FontManager;
+
+// re-run font generation post update
+/** @var FontManager $fontManager */
+$fontManager = \OC::$server->query(FontManager::class);
+$fontManager->rebuildFonts();