Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-28620 - Removed admin/generator.php include as it causes issues i…

…f this script is included from any other script that is running in the command line
  • Loading branch information...
commit c04c6e6b8a5b8adb8fce0ffbabe5db9264c3c464 1 parent 80eb52c
@jbrisland jbrisland authored
View
1  lib/simpletest/portfolio_testclass.php
@@ -38,7 +38,6 @@
require_once("$CFG->libdir/portfoliolib.php");
require_once("$CFG->libdir/portfolio/exporter.php");
require_once("$CFG->libdir/portfolio/plugin.php");
-require_once("$CFG->dirroot/$CFG->admin/generator.php");
class portfolio_plugin_test extends portfolio_plugin_push_base {
public function expected_time($callertime){
View
1  lib/simpletest/testrepositorylib.php
@@ -36,7 +36,6 @@
}
require_once("$CFG->dirroot/repository/lib.php");
-require_once("$CFG->dirroot/$CFG->admin/generator.php");
// Generate a mock class for each plugin subclass present
$repository_plugins = get_list_of_plugins('repository');
View
1  mod/assignment/simpletest/test_assignment_portfolio_callers.php
@@ -1,7 +1,6 @@
<?php
require_once("$CFG->libdir/simpletest/portfolio_testclass.php");
require_once("$CFG->dirroot/mod/assignment/lib.php");
-require_once("$CFG->dirroot/$CFG->admin/generator.php");
require_once("$CFG->dirroot/mod/assignment/locallib.php");
Mock::generate('assignment_portfolio_caller', 'mock_caller');
View
1  mod/chat/simpletest/test_chat_portfolio_callers.php
@@ -1,7 +1,6 @@
<?php
require_once("$CFG->libdir/simpletest/portfolio_testclass.php");
require_once("$CFG->dirroot/mod/chat/lib.php");
-require_once("$CFG->dirroot/$CFG->admin/generator.php");
/*
* TODO: The portfolio unit tests were obselete and did not work.
View
1  mod/data/simpletest/test_data_portfolio_callers.php
@@ -1,7 +1,6 @@
<?php
require_once("$CFG->libdir/simpletest/portfolio_testclass.php");
require_once("$CFG->dirroot/mod/data/lib.php");
-require_once("$CFG->dirroot/$CFG->admin/generator.php");
require_once("$CFG->dirroot/mod/data/locallib.php");
/*
View
1  mod/forum/simpletest/test_forum_portfolio_callers.php
@@ -26,7 +26,6 @@
require_once("$CFG->libdir/simpletest/portfolio_testclass.php");
require_once("$CFG->dirroot/mod/forum/lib.php");
-require_once("$CFG->dirroot/$CFG->admin/generator.php");
/*
* TODO: The portfolio unit tests were obselete and did not work.
View
1  mod/glossary/simpletest/test_glossary_portfolio_callers.php
@@ -2,7 +2,6 @@
require_once("$CFG->libdir/simpletest/portfolio_testclass.php");
require_once("$CFG->dirroot/mod/glossary/lib.php");
require_once("$CFG->dirroot/mod/glossary/locallib.php");
-require_once("$CFG->dirroot/$CFG->admin/generator.php");
/*
* TODO: The portfolio unit tests were obselete and did not work.
View
1  portfolio/boxnet/simpletest/testportfoliopluginboxnet.php
@@ -1,7 +1,6 @@
<?php
require_once("$CFG->libdir/simpletest/testportfoliolib.php");
require_once("$CFG->dirroot/portfolio/boxnet/lib.php");
-require_once("$CFG->dirroot/$CFG->admin/generator.php");
/*
* TODO: The portfolio unit tests were obselete and did not work.
Please sign in to comment.
Something went wrong with that request. Please try again.