mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Deprecate get_record_id in favor of getRecordId
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user