Commit 17ced67b9a8742e10234e8c43c0d2d0507dc30fc
1 parent
b5acedb2
Merged in from STABLE trunk...
KTS-3596 "Remove old search plugins when upgrading from 3.4.6 to 3.5.3" Fixed. Corrected rmdir() non-recursive issue. Committed by: Kevin Fourie Reviewed by: Megan Watson git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/branches/3.5.3-Release-Branch@9121 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
2 deletions
lib/upgrades/UpgradeFunctions.inc.php
| ... | ... | @@ -1319,9 +1319,9 @@ class UpgradeFunctions { |
| 1319 | 1319 | |
| 1320 | 1320 | // Files MUST be removed before folders and folders MUST be empty |
| 1321 | 1321 | $oldPath1 = KT_DIR . "/templates/ktstandard/searchdashlet/"; |
| 1322 | - rm_recursive($oldPath1); | |
| 1322 | + $this->rm_recursive($oldPath1); | |
| 1323 | 1323 | $oldPath2 = KT_DIR . "/plugins/generalmetadata/"; |
| 1324 | - rm_recursive($oldPath2); | |
| 1324 | + $this->rm_recursive($oldPath2); | |
| 1325 | 1325 | |
| 1326 | 1326 | // FIXME: We should check that they all worked |
| 1327 | 1327 | return true; | ... | ... |