summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-10-09 18:18:36 +0200
committerVincent Petry <pvince81@owncloud.com>2014-10-09 18:18:36 +0200
commit9dea79e341fcc28e6a4e1d8e88f6a7f6ec1bf3fb (patch)
treeceb66a37bae3611184e861872eed2e11ffe3ccd5 /lib/private
parentc82e310e202265dcc9ce78e1a50639ae5ee03c30 (diff)
parent26e242a8a4480f813d6d1ad15f3bf5c2f5025b48 (diff)
downloadnextcloud-server-9dea79e341fcc28e6a4e1d8e88f6a7f6ec1bf3fb.tar.gz
nextcloud-server-9dea79e341fcc28e6a4e1d8e88f6a7f6ec1bf3fb.zip
Merge pull request #11305 from owncloud/ext-updateetagonmount
Update etag of parent dir when adding/removing ext storage mount points
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/allconfig.php9
-rw-r--r--lib/private/files/filesystem.php5
2 files changed, 14 insertions, 0 deletions
diff --git a/lib/private/allconfig.php b/lib/private/allconfig.php
index 721ec337ff8..7ebff7cf2db 100644
--- a/lib/private/allconfig.php
+++ b/lib/private/allconfig.php
@@ -43,6 +43,15 @@ class AllConfig implements \OCP\IConfig {
\OCP\Config::deleteSystemValue($key);
}
+ /**
+ * Get all keys stored for an app
+ *
+ * @param string $appName the appName that we stored the value under
+ * @return string[] the keys stored for the app
+ */
+ public function getAppKeys($appName) {
+ return \OC::$server->getAppConfig()->getKeys($appName);
+ }
/**
* Writes a new app wide value
diff --git a/lib/private/files/filesystem.php b/lib/private/files/filesystem.php
index db46bcfd1ea..cdbbbf3d3cd 100644
--- a/lib/private/files/filesystem.php
+++ b/lib/private/files/filesystem.php
@@ -158,6 +158,11 @@ class Filesystem {
*/
const signal_param_run = 'run';
+ const signal_create_mount = 'create_mount';
+ const signal_delete_mount = 'delete_mount';
+ const signal_param_mount_type = 'mounttype';
+ const signal_param_users = 'users';
+
/**
* @var \OC\Files\Storage\Loader $loader
*/