MDL-32867: changed renaming of folders to the new API (function 'rename'), removed unused code
MDL-32867: changed renaming of folders to the new API (function 'rename'), removed unused code

dilawar/moodle