Skip to content

Commit

Permalink
Travis fix
Browse files Browse the repository at this point in the history
  • Loading branch information
luukverhoeven committed Oct 5, 2018
1 parent d10c5e2 commit 2c1bedc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,10 @@
* @author Luuk Verhoeven
**/

if (!defined('AJAX_SCRIPT')) {
define('AJAX_SCRIPT', true);
}
define('AJAX_SCRIPT', true);
define('NO_DEBUG_DISPLAY', true);

require_once(dirname(__FILE__) . '/../../config.php');
defined('MOODLE_INTERNAL') || die;
require_once(__DIR__ . '/../../config.php');
defined('MOODLE_INTERNAL') || die;

require_once("$CFG->libdir/gdlib.php");
Expand Down
2 changes: 1 addition & 1 deletion block_mfavatar.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function specialization() {
public function get_content() {
global $CFG, $COURSE;

require_once $CFG->libdir . '/formslib.php';
require_once($CFG->libdir . '/formslib.php');

if ($this->content !== null) {
return $this->content;
Expand Down

0 comments on commit 2c1bedc

Please sign in to comment.