diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-08-25 17:12:27 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-09-01 11:40:27 +0200 |
commit | e0ae37745a85cb08fd24f178d588a8659726f907 (patch) | |
tree | 5c18a0eb72d840639d94a0edb1233b1f59ec00ce /lib/public/DirectEditing | |
parent | 823f94bb0118d297df25ca9443e6c235a45bb5ab (diff) | |
download | nextcloud-server-e0ae37745a85cb08fd24f178d588a8659726f907.tar.gz nextcloud-server-e0ae37745a85cb08fd24f178d588a8659726f907.zip |
Do not expose direct editing if no master key is available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/public/DirectEditing')
-rw-r--r-- | lib/public/DirectEditing/IManager.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/DirectEditing/IManager.php b/lib/public/DirectEditing/IManager.php index bc45d0a45c6..ce39d014193 100644 --- a/lib/public/DirectEditing/IManager.php +++ b/lib/public/DirectEditing/IManager.php @@ -84,4 +84,12 @@ interface IManager { * @return int number of deleted tokens */ public function cleanup(): int; + + /** + * Check if direct editing is enabled + * + * @since 20.0.0 + * @return bool + */ + public function isEnabled(): bool; } |