mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Add deprecated method to make CMS tests work
This commit is contained in:
parent
9eb9e13071
commit
81beddc161
@ -95,6 +95,15 @@ abstract class Query implements \IteratorAggregate
|
||||
return $this->getIterator()->current();
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use record() instead
|
||||
* @return array
|
||||
*/
|
||||
public function first()
|
||||
{
|
||||
return $this->record();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the first column of the first record.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user