next up previous contents
Next: dump.php Up: 成績 Previous: 校務成績系統   Contents

access.php

  1. 檔案內有關 txt 字串,都改成 csv。
    [root@moodle grade]# diff -urNwbBE export/txt/db/access.php export/csv/db/access.php
    --- export/txt/db/access.php	2012-06-26 01:14:18.000000000 +0800
    +++ export/csv/db/access.php	2013-03-25 13:40:26.000000000 +0800
    @@ -17,7 +17,7 @@
     /**
      * Capabilities gradeexport plugin.
      *
    - * @package    gradeexport_txt
    + * @package    gradeexport_csv
      * @copyright  2007 Petr Skoda {@link http://skodak.org}
      * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
      */
    @@ -26,7 +26,7 @@
     
     $capabilities = array(
     
    -    'gradeexport/txt:view' => array(
    +    'gradeexport/csv:view' => array(
             'riskbitmask' => RISK_PERSONAL,
             'captype' => 'read',
             'contextlevel' => CONTEXT_COURSE,
    @@ -37,7 +37,7 @@
             )
         ),
     
    -    'gradeexport/txt:publish' => array(
    +    'gradeexport/csv:publish' => array(
             'riskbitmask' => RISK_PERSONAL,
             'captype' => 'read',
             'contextlevel' => CONTEXT_COURSE,
    



2017-08-04