Deprecate get_record_id in favor of getRecordId

This commit is contained in:
Benoît Burnichon
2015-07-13 18:24:06 +02:00
parent ff7801132d
commit a4637c2e72

View File

@@ -290,8 +290,14 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
* Returns record_id of the record
*
* @return int
* @deprecated use {@link self::getRecordId} instead.
*/
public function get_record_id()
{
return $this->getRecordId();
}
public function getRecordId()
{
return $this->record_id;
}
@@ -1816,12 +1822,6 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
$this->set_original_name($originalName);
}
/** {@inheritdoc} */
public function getRecordId()
{
return $this->get_record_id();
}
/** {@inheritdoc} */
public function getSha256()
{