Commit 203eb38f authored by webchick's avatar webchick

Issue #2577155 follow-up: Remove assert() call.

parent 9eb5b8be
......@@ -76,7 +76,6 @@ public function prepareRow(Row $row) {
->orderBy('widget_type')
->execute()
->fetchCol();
assert(count($widget_types) > 0);
// Arbitrarily use the first widget_type - if there are multiples, let the
// migrator know.
$row->setSourceProperty('widget_type', $widget_types[0]);
......
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