MDL-46267 core: Remove $CFG->httpswwwroot

* It's unnecessary since $CFG->loginhttps has already been removed and
  it's no longer being used in core anymore.
This commit is contained in:
Jun Pataleta
2019-07-22 10:59:42 +08:00
parent b6e465c870
commit 9320787005
9 changed files with 10 additions and 18 deletions
-3
View File
@@ -52,9 +52,6 @@ class core_phpunit_basic_testcase extends basic_testcase {
*/
public function test_bootstrap() {
global $CFG;
// The use of httpswwwroot is deprecated, but we are still setting it for backwards compatibility.
$this->assertTrue(isset($CFG->httpswwwroot));
$this->assertEquals($CFG->httpswwwroot, $CFG->wwwroot);
$this->assertEquals($CFG->prefix, $CFG->phpunit_prefix);
}