//// /** //// * Clean up temporary files //// * //// * @param string $filePath Path to file or directory //// */ public static void removeTemporarilySavedFiles(string filePath) //// public static function removeTemporarilySavedFiles($filePath) { //// { if (File.Exists(filePath)) //// if (is_dir($filePath)) { //// { H5PCore.deleteFileTree(filePath); //// \H5PCore::deleteFileTree($filePath); }//// } else//// else { //// { unlink(filePath); //// @unlink($filePath); }//// } }//// }