Commit 0acb635a7464e7ce1b7a243e4bdc555ce50ff74c
1 parent
c213d308
WSA-30
"The move_folder in the KTAPI does a copy and not a move()." Fixed. Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7122 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
ktapi/KTAPIFolder.inc.php
| ... | ... | @@ -584,7 +584,7 @@ class KTAPI_Folder extends KTAPI_FolderItem |
| 584 | 584 | } |
| 585 | 585 | |
| 586 | 586 | DBUtil::startTransaction(); |
| 587 | - $result = KTFolderUtil::copy($this->folder, $target_folder, $user, $reason); | |
| 587 | + $result = KTFolderUtil::move($this->folder, $target_folder, $user, $reason); | |
| 588 | 588 | |
| 589 | 589 | if (PEAR::isError($result)) |
| 590 | 590 | { | ... | ... |