Merge branch 'master' into sudorequire

This commit is contained in:
Daniel Thee Roperto
2017-05-21 21:43:59 +10:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ install:
- moodle-plugin-ci install -vvv
script:
- moodle-plugin-ci validate
- moodle-plugin-ci phplint
- moodle-plugin-ci phpcpd
- moodle-plugin-ci phpmd

View File

@@ -68,7 +68,7 @@ class lib_test extends auth_outage_base_testcase {
$realfile = $realdir.'/example.txt';
file_put_contents($realfile, 'Outage Unit Test Message');
// Create a symlink
// Create a symlink.
$symdir = $CFG->dataroot.'/auth_outage/climaintenance';
if (!symlink($realdir, $symdir)) {
unlink($realfile);