diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-04-08 13:21:46 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-04-08 13:22:00 +0200 |
commit | 5d360bd16f345e395f7650998e8ee4a5d252c2b5 (patch) | |
tree | dbb380f4f5f97057be35fae3366e6c4bbf94a608 /lib/public/Files | |
parent | acba430246bc8815c368ef19e2c169769ca897ea (diff) | |
download | nextcloud-server-5d360bd16f345e395f7650998e8ee4a5d252c2b5.tar.gz nextcloud-server-5d360bd16f345e395f7650998e8ee4a5d252c2b5.zip |
Harden appdata putcontent
If for whatever reason appdata got into a strange state this will at
least propegate up and not make it do boom the next run.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public/Files')
-rw-r--r-- | lib/public/Files/SimpleFS/ISimpleFile.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/Files/SimpleFS/ISimpleFile.php b/lib/public/Files/SimpleFS/ISimpleFile.php index a3cd3245cc7..b00f5c482c6 100644 --- a/lib/public/Files/SimpleFS/ISimpleFile.php +++ b/lib/public/Files/SimpleFS/ISimpleFile.php @@ -80,6 +80,7 @@ interface ISimpleFile { * * @param string|resource $data * @throws NotPermittedException + * @throws NotFoundException * @since 11.0.0 */ public function putContent($data); |