1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 22:22:32 +01:00

Remove base 64 encoding

This commit is contained in:
David Bomba 2021-07-24 17:43:16 +10:00
parent 356ddd1ef1
commit 8ff01a97a2

View File

@ -30,10 +30,8 @@ class CompanyPresenter extends EntityPresenter
//return $this->entity->name ?: ctrans('texts.untitled_account'); //return $this->entity->name ?: ctrans('texts.untitled_account');
} }
/*
@deprecated public function logo($settings = null)
*/
public function logo2($settings = null)
{ {
if (! $settings) { if (! $settings) {
$settings = $this->entity->settings; $settings = $this->entity->settings;
@ -48,7 +46,10 @@ class CompanyPresenter extends EntityPresenter
} }
public function logo($settings = null) /**
* Test for using base64 encoding
*/
public function logo2($settings = null)
{ {
if (! $settings) { if (! $settings) {
$settings = $this->entity->settings; $settings = $this->entity->settings;