Commit a57d9a1abf72ee86300bdcc3286d850abd905ffd

Authored by conradverm
1 parent aa62ee1c

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,7 +584,7 @@ class KTAPI_Folder extends KTAPI_FolderItem
584 } 584 }
585 585
586 DBUtil::startTransaction(); 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 if (PEAR::isError($result)) 589 if (PEAR::isError($result))
590 { 590 {