Merge branch 'MDL-39964-master' of git://github.com/danpoltawski/moodle
authorSam Hemelryk <sam@moodle.com>
Tue, 11 Jun 2013 21:04:22 +0000 (09:04 +1200)
committerSam Hemelryk <sam@moodle.com>
Tue, 11 Jun 2013 21:04:22 +0000 (09:04 +1200)
Conflicts:
lib/deprecatedlib.php

1  2 
lib/deprecatedlib.php
lib/moodlelib.php

@@@ -4663,9 -4677,13 +4663,19 @@@ function convert_tabrows_to_tree($tabro
      return $subtree;
  }
  
 +/**
 + * @deprecated since Moodle 2.3
 + */
 +function move_section($course, $section, $move) {
 +    throw new coding_exception('move_section() can not be used any more, please see move_section_to().');
 +}
+ /**
+  * Can handle rotated text. Whether it is safe to use the trickery in textrotate.js.
+  *
+  * @deprecated since 2.5 - do not use, the textrotate.js will work it out automatically
+  * @return bool True for yes, false for no
+  */
+ function can_use_rotated_text() {
+     debugging('can_use_rotated_text() is deprecated since Moodle 2.5. JS feature detection is used automatically.', DEBUG_DEVELOPER);
+     return true;
+ }
Simple merge