Skip to content

Commit

Permalink
Add mising TODOs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ammon Smith committed May 24, 2022
1 parent 67d5863 commit b1f115a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/php/Actions/FileAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ public function renameFileEvent($runData)
$c->add("page_id", $page->getPageId());
$c->add("filename", $newName);
/*
TODO
$conflict = FilePeer::instance()->selectOne();
// delete from filesystem
if ($conflict) {
Expand Down Expand Up @@ -476,6 +477,7 @@ public function moveFileEvent($runData)

if ($force && $overwritePermission) {
/*
TODO
// delete any file by this name in the page
$c = new Criteria();
$c->add("page_id", $destinationPage->getPageId());
Expand Down

0 comments on commit b1f115a

Please sign in to comment.