2013-08-30, 20:21:19
I came up with this sollution to delete the post that is edited so no duplicates can occure;
added in /plugins/calendar/inc/admin_edit.php at line 11
added in /plugins/calendar/inc/admin_edit.php at line 11
Code:
if(empty($file)){
$file = $_GET['edit'];
$file = stripslashes($file);
$file = to7bit($file, 'UTF-8');
$file = clean_url($file);
if(file_exists(GSDATAOTHERPATH.'/calendar/'.$file.'.xml')) {
unlink(GSDATAOTHERPATH.'/calendar/'.$file.'.xml');
}
}