|
|
@ -2706,8 +2706,6 @@ class DocumentManager |
|
|
|
if (!empty($documentId)) { |
|
|
|
if (!empty($documentId)) { |
|
|
|
$table_document = Database::get_course_table(TABLE_DOCUMENT); |
|
|
|
$table_document = Database::get_course_table(TABLE_DOCUMENT); |
|
|
|
$params = array(); |
|
|
|
$params = array(); |
|
|
|
error_log('dd'); |
|
|
|
|
|
|
|
error_log($if_exists); |
|
|
|
|
|
|
|
/*if ($if_exists == 'rename') { |
|
|
|
/*if ($if_exists == 'rename') { |
|
|
|
// Remove prefix |
|
|
|
// Remove prefix |
|
|
|
$suffix = DocumentManager::getDocumentSuffix( |
|
|
|
$suffix = DocumentManager::getDocumentSuffix( |
|
|
|