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

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-02-04 22:17:01 +0300
committerJulius Härtl <jus@bitgrid.net>2020-02-04 22:17:01 +0300
commit478760aaeb0c143cac4dea35289d818de062c279 (patch)
tree86b10c6142172675e136f2bb2b42dd2955492c26 /appinfo
parentde537819d51795ff2a8c720030a5c6baee541421 (diff)
Add occ command to restore documents to their last saved state
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/info.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/appinfo/info.xml b/appinfo/info.xml
index 4794b138b..fc8e63a78 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -32,6 +32,9 @@
<background-jobs>
<job>OCA\Text\Cron\Cleanup</job>
</background-jobs>
+ <commands>
+ <command>OCA\Text\Command\ResetDocument</command>
+ </commands>
<sabre>
<plugins>
<plugin>OCA\Text\DAV\WorkspacePlugin</plugin>