git.psu.edu has been upgraded to 13.8.4. Please email support@git.psu.edu with any Gitlab problems. See the git.psu.edu yammer group for more information. 13.9.x will be soon.

Commit ff773ecc authored by ROBERT PATRICK CAREY III's avatar ROBERT PATRICK CAREY III 🗿

Replaced call to deprecated function drush_print()

parent d9b94048
...@@ -37,7 +37,7 @@ class LessonsCommands extends DrushCommands { ...@@ -37,7 +37,7 @@ class LessonsCommands extends DrushCommands {
$count = $this->_lessons_node_count_state($options['status'], 'lesson'); $count = $this->_lessons_node_count_state($options['status'], 'lesson');
} }
drush_print(t('Lessons: ' . $count)); $this->io()->writeln([t('Lessons: ' . $count)]);
} }
private function _lessons_node_count_state($status, $type) { private function _lessons_node_count_state($status, $type) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment