MDL-42834 admin: Deprecate https_required and verify_https_required

This commit is contained in:
John Okely
2017-10-23 12:25:35 +08:00
committed by Mark Nelson
parent b58764ff99
commit 4b501ec96b
15 changed files with 12 additions and 107 deletions
+2 -2
View File
@@ -501,10 +501,10 @@ function filter_text($text, $courseid = NULL) {
}
/**
* @deprecated use $PAGE->https_required() instead
* @deprecated Loginhttps is no longer supported
*/
function httpsrequired() {
throw new coding_exception('httpsrequired() can not be used any more use $PAGE->https_required() instead.');
throw new coding_exception('httpsrequired() can not be used any more. Loginhttps is no longer supported.');
}
/**