diff options
author | Morris Jobke <morris.jobke@gmail.com> | 2013-10-18 11:37:13 +0200 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2013-10-18 11:37:13 +0200 |
commit | 1f1fcc61298e1ce8b32a16824da0e44671bb30f5 (patch) | |
tree | 3f058237b69c4209b44b980a39ac0d6f3055d196 /lib/private/appconfig.php | |
parent | 0febccee49faa63beff1de253957a193a904fd4a (diff) | |
download | nextcloud-server-1f1fcc61298e1ce8b32a16824da0e44671bb30f5.tar.gz nextcloud-server-1f1fcc61298e1ce8b32a16824da0e44671bb30f5.zip |
Remove "link" shares right after disabling the "allow_link_share" setting
Diffstat (limited to 'lib/private/appconfig.php')
-rw-r--r-- | lib/private/appconfig.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/appconfig.php b/lib/private/appconfig.php index e615d838173..4f170e054e9 100644 --- a/lib/private/appconfig.php +++ b/lib/private/appconfig.php @@ -134,6 +134,12 @@ class OC_Appconfig{ .' WHERE `appid` = ? AND `configkey` = ?' ); $query->execute( array( $value, $app, $key )); } + // TODO where should this be documented? + \OC_Hook::emit('OC_Appconfig', 'post_set_value', array( + 'app' => $app, + 'key' => $key, + 'value' => $value + )); } /** |