lib/backend.php 1 location
|
@@ 303-308 (lines=6) @@
|
300 |
|
$requery = true; |
301 |
|
} |
302 |
|
// We moved the rename down here to overcome the OC issue |
303 |
|
if ($this->endsWith($tmpfile, ".html")) { |
304 |
|
$tmpfile = substr($tmpfile, 0, -1); |
305 |
|
if (!Filesystem::file_exists($FOLDER . "/" . $tmpfile)) { |
306 |
|
Filesystem::rename($FOLDER . "/" . $file, $FOLDER . "/" . $tmpfile); |
307 |
|
} |
308 |
|
} |
309 |
|
} |
310 |
|
} |
311 |
|
} |
lib/Service/OwnNoteService.php 1 location
|
@@ 374-379 (lines=6) @@
|
371 |
|
$requery = true; |
372 |
|
} |
373 |
|
// We moved the rename down here to overcome the OC issue |
374 |
|
if ($this->utils->endsWith($tmpfile, ".html")) { |
375 |
|
$tmpfile = substr($tmpfile, 0, -1); |
376 |
|
if (!Filesystem::file_exists($FOLDER . "/" . $tmpfile)) { |
377 |
|
Filesystem::rename($FOLDER . "/" . $file, $FOLDER . "/" . $tmpfile); |
378 |
|
} |
379 |
|
} |
380 |
|
} |
381 |
|
} |
382 |
|
} |