Skip to content

Commit

Permalink
Remove unused oldProvider property in _rs2serialize()
Browse files Browse the repository at this point in the history
Property was assigned but not referenced anywhere in the code base,
except for a mention in the 4.x changelog from 2005.

Fixes #957
  • Loading branch information
dregad committed Apr 16, 2023
1 parent 8968147 commit 059ffc2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion adodb-csvlib.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ function _rs2serialize(&$rs,$conn=false,$sql='')
$rs2 = new $class(ADORecordSet::DUMMY_QUERY_ID);
$rs2->timeCreated = $rs->timeCreated; # memcache fix
$rs2->sql = $rs->sql;
$rs2->oldProvider = $rs->dataProvider;
$rs2->InitArrayFields($rows,$flds);
$rs2->fetchMode = $savefetch;
return $line.serialize($rs2);
Expand Down

0 comments on commit 059ffc2

Please sign in to comment.