Skip to content

Commit faeba26

Browse files
Nash tech open university wip375491 (#432)
* Questionnaire: 'Start page' - replace current links with buttons so consistent with rest of Moodle * PR346 Making buttons exist horizontally. * Changing Behat tests for lang string changes and fixing CI errors. Co-authored-by: Truong Viet <[email protected]>
1 parent ab3cc38 commit faeba26

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+75
-95
lines changed

backup/moodle1/lib.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424

25-
defined('MOODLE_INTERNAL') || die();
26-
2725
/**
2826
* Choice conversion handler
2927
*/

backup/moodle2/backup_questionnaire_settingslib.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424

25-
defined('MOODLE_INTERNAL') || die();
26-
2725
// This activity has no particular settings but the inherited from the generic
2826
// backup_activity_task so here there isn't any class definition, like the ones
2927
// existing in /backup/moodle2/backup_settingslib.php (activities section).

backup/moodle2/backup_questionnaire_stepslib.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
// You should have received a copy of the GNU General Public License
1515
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
1616

17-
defined('MOODLE_INTERNAL') || die();
18-
1917
/**
2018
* Define all the backup steps that will be used by the backup_questionnaire_activity_task.
2119
*

backup/moodle2/restore_questionnaire_stepslib.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
// You should have received a copy of the GNU General Public License
1515
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
1616

17-
defined('MOODLE_INTERNAL') || die();
18-
1917
/**
2018
* Define all the restore steps that will be used by the restore_questionnaire_activity_task.
2119
*

classes/db/bulk_sql_config.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
namespace mod_questionnaire\db;
1818

19-
defined('MOODLE_INTERNAL') || die();
20-
2119
/**
2220
* For bulk sql operations on useresponses.
2321
*

classes/event/all_responses_deleted.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424

2525
namespace mod_questionnaire\event;
2626

27-
defined('MOODLE_INTERNAL') || die();
28-
2927
/**
3028
* The mod_questionnaire all responses deleted event class.
3129
*

classes/event/all_responses_saved_as_text.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424

2525
namespace mod_questionnaire\event;
2626

27-
defined('MOODLE_INTERNAL') || die();
28-
2927
/**
3028
* The mod_questionnaire all_responses_saved_as_text event class.
3129
*

classes/event/all_responses_viewed.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424

2525
namespace mod_questionnaire\event;
2626

27-
defined('MOODLE_INTERNAL') || die();
28-
2927
/**
3028
* The mod_questionnaire all_responses_viewed event class.
3129
*

classes/event/attempt_resumed.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424

2525
namespace mod_questionnaire\event;
2626

27-
defined('MOODLE_INTERNAL') || die();
28-
2927
/**
3028
* The mod_questionnaire attempt_resumed event.
3129
*

classes/event/attempt_saved.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424

2525
namespace mod_questionnaire\event;
2626

27-
defined('MOODLE_INTERNAL') || die();
28-
2927
/**
3028
* The mod_questionnaire attempt_saved event class.
3129
*

0 commit comments

Comments
 (0)