summaryrefslogtreecommitdiffstats
path: root/apps/files_texteditor
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-11-08 22:36:05 +0100
committerRobin Appelman <icewind1991@gmail.com>2011-11-08 22:36:05 +0100
commit5cc6635eb81a8d76c04ee040a791f51ebbe389ef (patch)
treecfe2caa4dc4d76075f9cad9b883f5d0e471db2ed /apps/files_texteditor
parentca6c500799ec13c433ca74b8caa80875084c4943 (diff)
downloadnextcloud-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.php2
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);
}