Remove bitly property

This commit is contained in:
Mathieu Darse
2014-08-26 16:43:49 +02:00
parent d187bfe80d
commit d587c79e51

View File

@@ -120,12 +120,6 @@ class record_adapter implements record_Interface, cache_cacheableInterface
*/ */
protected $caption_record; protected $caption_record;
/**
*
* @var string
*/
protected $bitly_link;
/** /**
* *
* @var string * @var string
@@ -174,7 +168,6 @@ class record_adapter implements record_Interface, cache_cacheableInterface
$this->mime = $datas['mime']; $this->mime = $datas['mime'];
$this->sha256 = $datas['sha256']; $this->sha256 = $datas['sha256'];
$this->bitly_link = $datas['bitly_link'];
$this->original_name = $datas['original_name']; $this->original_name = $datas['original_name'];
$this->type = $datas['type']; $this->type = $datas['type'];
$this->grouping = $datas['grouping']; $this->grouping = $datas['grouping'];
@@ -209,14 +202,12 @@ class record_adapter implements record_Interface, cache_cacheableInterface
$this->grouping = ($row['parent_record_id'] == '1'); $this->grouping = ($row['parent_record_id'] == '1');
$this->type = $row['type']; $this->type = $row['type'];
$this->original_name = $row['originalname']; $this->original_name = $row['originalname'];
$this->bitly_link = $row['bitly'];
$this->sha256 = $row['sha256']; $this->sha256 = $row['sha256'];
$this->mime = $row['mime']; $this->mime = $row['mime'];
$datas = [ $datas = [
'mime' => $this->mime 'mime' => $this->mime
, 'sha256' => $this->sha256 , 'sha256' => $this->sha256
, 'bitly_link' => $this->bitly_link
, 'original_name' => $this->original_name , 'original_name' => $this->original_name
, 'type' => $this->type , 'type' => $this->type
, 'grouping' => $this->grouping , 'grouping' => $this->grouping