diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-11-08 22:36:05 +0100 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-11-08 22:36:05 +0100 |
commit | 5cc6635eb81a8d76c04ee040a791f51ebbe389ef (patch) | |
tree | cfe2caa4dc4d76075f9cad9b883f5d0e471db2ed /apps/files_texteditor | |
parent | ca6c500799ec13c433ca74b8caa80875084c4943 (diff) | |
download | nextcloud-server-5cc6635eb81a8d76c04ee040a791f51ebbe389ef.tar.gz nextcloud-server-5cc6635eb81a8d76c04ee040a791f51ebbe389ef.zip |
remove OC_Filesystem::fromUploadedFile
Diffstat (limited to 'apps/files_texteditor')
-rw-r--r-- | apps/files_texteditor/ajax/savefile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_texteditor/ajax/savefile.php b/apps/files_texteditor/ajax/savefile.php index f1a2bafc12b..a9777eb4133 100644 --- a/apps/files_texteditor/ajax/savefile.php +++ b/apps/files_texteditor/ajax/savefile.php @@ -37,7 +37,7 @@ $sessionname = sha1('oc_file_hash_'.$path); function do_save($path,$filecontents){ $sessionname = md5('oc_file_hash_'.$path); - OC_Filesystem::update_session_file_hash($sessionname,sha1(htmlspecialchars($filecontents))); + $_SESSION[$sessionname] = sha1(htmlspecialchars($filecontents)); OC_Filesystem::file_put_contents($path, $filecontents); } |