diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-10-16 21:42:24 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-10-16 21:42:24 +0200 |
commit | b0127e39188f2268dbd74714e5d2f0e1a2b6ce7b (patch) | |
tree | 63b365930c0232613f28ffbd477202f857fdabee /files/ajax | |
parent | d9372ac76606cd10e680852dde090171f04f5dee (diff) | |
download | nextcloud-server-b0127e39188f2268dbd74714e5d2f0e1a2b6ce7b.tar.gz nextcloud-server-b0127e39188f2268dbd74714e5d2f0e1a2b6ce7b.zip |
use OC_Log instead of error_log
Diffstat (limited to 'files/ajax')
-rw-r--r-- | files/ajax/newfolder.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ajax/newfolder.php b/files/ajax/newfolder.php index 43d87461fc7..6966e912c56 100644 --- a/files/ajax/newfolder.php +++ b/files/ajax/newfolder.php @@ -13,7 +13,7 @@ if($foldername == '') { OC_JSON::error(array("data" => array( "message" => "Empty Foldername" ))); exit(); } -if(defined("DEBUG") && DEBUG) {error_log('try to create ' . $foldername . ' in ' . $dir);} + if(OC_Files::newFile($dir, $foldername, 'dir')) { OC_JSON::success(array("data" => array())); exit(); |