diff options
author | Robin Appelman <robin@icewind.nl> | 2020-01-22 18:57:50 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2020-01-22 18:57:50 +0300 |
commit | b5372e52eecd5e3834530f26b4262dbbaf370c32 (patch) | |
tree | 8fa61b1142009fb2a4426b6c6fc22d4fa985430d /appinfo | |
parent | f3714db8060ad34e72aad43082ca0977b65d07c3 (diff) |
rebuild fonts after app update
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/update.php | 7 |
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(); |