@ -33,8 +33,6 @@ if (empty($course_id) || empty($doc_url)) {
$doc_url = $_REQUEST['file'];
$session_id = api_get_session_id();
$is_user_is_subscribed = CourseManager::is_user_subscribed_in_course(
$user_id,
$course_info['code'],
@ -17,7 +17,6 @@
* @return string JSON output
*/
/* FIX for IE cache when using https */
session_cache_limiter('none');
require_once __DIR__.'/../inc/global.inc.php';
@ -32,7 +32,6 @@
*
* @package chamilo.document
require_once api_get_path(LIBRARY_PATH).'specific_fields_manager.lib.php';
@ -6937,4 +6937,3 @@ function reportPost($postId, $forumInfo, $threadInfo)
}
@ -535,7 +535,6 @@ class DocumentManager
$search = false,
$sessionId = 0
) {
if (empty($courseInfo)) {
return [];
@ -219,7 +219,7 @@ class Timeline extends Model
/**
* @param array $params
* @param bool $showQuery
* @return bool
@ -32,4 +32,4 @@ if ($linkInfo) {
header("Pragma: no-cache"); // HTTP/1.0
header("Location: $linkUrl");
exit;