summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/lib/config.php')
-rwxr-xr-xapps/files_external/lib/config.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index 2a32d239b4c..0b5e833a704 100755
--- a/apps/files_external/lib/config.php
+++ b/apps/files_external/lib/config.php
@@ -518,11 +518,11 @@ class OC_Mount_Config {
if ($result && $isNew) {
\OC_Hook::emit(
\OC\Files\Filesystem::CLASSNAME,
- 'add_mount_point',
+ \OC\Files\Filesystem::signal_create_mount,
array(
- 'path' => $mountPoint,
- 'type' => $mountType,
- 'applicable' => $applicable
+ \OC\Files\Filesystem::signal_param_path => $mountPoint,
+ \OC\Files\Filesystem::signal_param_mount_type => $mountType,
+ \OC\Files\Filesystem::signal_param_users => $applicable,
)
);
}
@@ -561,11 +561,11 @@ class OC_Mount_Config {
self::writeData($isPersonal ? OCP\User::getUser() : NULL, $mountPoints);
\OC_Hook::emit(
\OC\Files\Filesystem::CLASSNAME,
- 'remove_mount_point',
+ \OC\Files\Filesystem::signal_delete_mount,
array(
- 'path' => $mountPoint,
- 'type' => $mountType,
- 'applicable' => $applicable
+ \OC\Files\Filesystem::signal_param_path => $mountPoint,
+ \OC\Files\Filesystem::signal_param_mount_type => $mountType,
+ \OC\Files\Filesystem::signal_param_users => $applicable,
)
);
return true;