Skip to content

Commit 2164d36

Browse files
committed
Remove nanogong files (deprecated).
1 parent 941887e commit 2164d36

8 files changed

Lines changed: 6 additions & 275 deletions

File tree

main/inc/lib/document.lib.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4206,24 +4206,6 @@ public static function updateVisibilityFromAllSessions($courseInfo, $id, $visibi
42064206
}
42074207
}
42084208

4209-
/**
4210-
* @param string $file
4211-
*
4212-
* @return string
4213-
*/
4214-
public static function readNanogongFile($file)
4215-
{
4216-
$nanoGongJarFile = api_get_path(WEB_LIBRARY_PATH).'nanogong/nanogong.jar';
4217-
$html = '<applet id="applet" archive="'.$nanoGongJarFile.'" code="gong.NanoGong" width="160" height="95">';
4218-
$html .= '<param name="SoundFileURL" value="'.$file.'" />';
4219-
$html .= '<param name="ShowSaveButton" value="false" />';
4220-
$html .= '<param name="ShowTime" value="true" />';
4221-
$html .= '<param name="ShowRecordButton" value="false" />';
4222-
$html .= '</applet>';
4223-
4224-
return $html;
4225-
}
4226-
42274209
/**
42284210
* @param string $filePath
42294211
* @param string $path

main/inc/lib/nanogong/LICENSE

Lines changed: 0 additions & 201 deletions
This file was deleted.

main/inc/lib/nanogong/NOTICE

Lines changed: 0 additions & 11 deletions
This file was deleted.

main/inc/lib/nanogong/README

Lines changed: 0 additions & 39 deletions
This file was deleted.

main/inc/lib/nanogong/index.html

Lines changed: 0 additions & 6 deletions
This file was deleted.

main/inc/lib/nanogong/nanogong.jar

-198 KB
Binary file not shown.

main/inc/lib/nanogong/receiver.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?php
22
/* For licensing terms, see /license.txt */
33

4+
exit;
5+
46
/**
57
* This file allows creating new svg and png documents with an online editor.
68
*

main/inc/lib/nanogong/upload_nanogong_file.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
<?php
22
/* For licensing terms, see /license.txt */
33

4+
exit;
5+
6+
47
use ChamiloSession as Session;
58

9+
610
/**
711
* This file allows creating new svg and png documents with an online editor.
812
*

0 commit comments

Comments
 (0)