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 {
$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) {
......
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