Commit 758267ea authored by alexpott's avatar alexpott

Issue #2125083 by andypost, cosmicdreams, benjy, YesCT | bdone: Remove unused...

Issue #2125083 by andypost, cosmicdreams, benjy, YesCT | bdone: Remove unused $keep variable from migrate sources.
parent 9d777775
......@@ -37,7 +37,7 @@ public function query() {
/**
* {@inheritdoc}
*/
public function prepareRow(Row $row, $keep = TRUE) {
public function prepareRow(Row $row) {
if ($this->variableGet('comment_subject_field_' . $row->getSourceProperty('type'), 1)) {
// Comment subject visible.
$row->setSourceProperty('field_name', 'comment');
......@@ -72,7 +72,7 @@ public function fields() {
'name' => $this->t("The comment author's name. Uses {users}.name if the user is logged in, otherwise uses the value typed into the comment form."),
'mail' => $this->t("The comment author's email address from the comment form, if user is anonymous, and the 'Anonymous users may/must leave their contact information' setting is turned on."),
'homepage' => $this->t("The comment author's home page address from the comment form, if user is anonymous, and the 'Anonymous users may/must leave their contact information' setting is turned on."),
'type' => $this->t("The {node}.type to which this comment is a reply.")
'type' => $this->t("The {node}.type to which this comment is a reply."),
);
}
......
......@@ -68,7 +68,7 @@ public function fields() {
/**
* {@inheritdoc}
*/
public function prepareRow(Row $row, $keep = TRUE) {
public function prepareRow(Row $row) {
// Unserialize data.
$global_settings = unserialize($row->getSourceProperty('global_settings'));
$widget_settings = unserialize($row->getSourceProperty('widget_settings'));
......
......@@ -72,7 +72,7 @@ public function fields() {
/**
* {@inheritdoc}
*/
public function prepareRow(Row $row, $keep = TRUE) {
public function prepareRow(Row $row) {
// Unserialize data.
$widget_settings = unserialize($row->getSourceProperty('widget_settings'));
$display_settings = unserialize($row->getSourceProperty('display_settings'));
......
......@@ -67,7 +67,7 @@ protected function runQuery() {
/**
* {@inheritdoc}
*/
public function prepareRow(Row $row, $keep = TRUE) {
public function prepareRow(Row $row) {
$rid = $row->getSourceProperty('rid');
$permissions = $this->select('permission', 'p')
->fields('p', array('perm'))
......
......@@ -52,7 +52,7 @@ public function fields() {
/**
* {@inheritdoc}
*/
public function prepareRow(Row $row, $keep = TRUE) {
public function prepareRow(Row $row) {
// User roles.
$roles = $this->select('users_roles', 'ur')
->fields('ur', array('rid'))
......
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