Minor - remove legacy document code

pull/3924/head
Julio Montoya 4 years ago
parent 4bb3ed9c13
commit 9d3157c3a4
  1. 4
      public/main/inc/ajax/session.ajax.php
  2. 1514
      public/main/inc/lib/document.lib.php
  3. 4
      public/plugin/zoom/lib/ZoomPlugin.php

@ -419,10 +419,10 @@ switch ($action) {
$docId
);
} else {
$deletedDocument = DocumentManager::deleteCloudLink(
/*$deletedDocument = DocumentManager::deleteCloudLink(
$courseInfo,
$docId
);
);*/
}
if (!$deletedDocument) {

File diff suppressed because it is too large Load Diff

@ -590,11 +590,11 @@ class ZoomPlugin extends Plugin
if (empty($courseInfo)) {
throw new Exception('This meeting is not linked to a valid course');
}
$path = '/zoom_meeting_recording_file_'.$file->id.'.'.$file->file_type;
/*$path = '/zoom_meeting_recording_file_'.$file->id.'.'.$file->file_type;
$docId = DocumentManager::addCloudLink($courseInfo, $path, $file->play_url, $name);
if (!$docId) {
throw new Exception(get_lang(DocumentManager::cloudLinkExists($courseInfo, $path, $file->play_url) ? 'UrlAlreadyExists' : 'ErrorAddCloudLink'));
}
}*/
}
/**

Loading…
Cancel
Save