MDL-39964 deprecate can_use_rotated_text()

This probably should never have landed in moodlelib anyway, as it was
only used in the completion report
This commit is contained in:
Dan Poltawski
2013-05-31 14:43:00 +08:00
parent 26c4242c68
commit 8ef3a22260
2 changed files with 11 additions and 11 deletions
-11
View File
@@ -9111,17 +9111,6 @@ function get_browser_version_classes() {
return $classes;
}
/**
* Can handle rotated text. Whether it is safe to use the trickery in textrotate.js.
*
* @return bool True for yes, false for no
*/
function can_use_rotated_text() {
return check_browser_version('MSIE', 9) || check_browser_version('Firefox', 2) ||
check_browser_version('Chrome', 21) || check_browser_version('Safari', 536.25) ||
check_browser_version('Opera', 12) || check_browser_version('Safari iOS', 533);
}
/**
* Determine if moodle installation requires update
*