summaryrefslogtreecommitdiffstats
path: root/lib/public/util.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-08-12 17:25:27 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2013-08-12 17:25:27 +0200
commit53bb89824deaf97095acf6bcc2997aa7141dd573 (patch)
tree8d1ef8a3d2d71295480c1da221fdf514097e9f1e /lib/public/util.php
parent0bab8935c95c249405f5b12f4724d189c4ec648b (diff)
downloadnextcloud-server-53bb89824deaf97095acf6bcc2997aa7141dd573.tar.gz
nextcloud-server-53bb89824deaf97095acf6bcc2997aa7141dd573.zip
check if some encrypted files are left after the app was disabled and warn the user
Diffstat (limited to 'lib/public/util.php')
-rw-r--r--lib/public/util.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/util.php b/lib/public/util.php
index 693805946ea..b33f07b55e6 100644
--- a/lib/public/util.php
+++ b/lib/public/util.php
@@ -123,6 +123,14 @@ class Util {
}
/**
+ * @brief check if some encrypted files are stored
+ * @return bool
+ */
+ public static function encryptedFiles() {
+ return \OC_Util::encryptedFiles();
+ }
+
+ /**
* @brief Creates an absolute url
* @param string $app app
* @param string $file file