Skip to content

Commit

Permalink
Changed the default avatar. Bye Bye Preston
Browse files Browse the repository at this point in the history
  • Loading branch information
Progi1984 committed Nov 4, 2020
1 parent ff9bad2 commit 0abd190
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ npm-debug.log.*
!/img/os/index.php
!/img/p/index.php
!/img/pr/index.php
!/img/pr/default.jpg
!/img/s/index.php
!/img/scenes
!/img/st/index.php
Expand Down
2 changes: 1 addition & 1 deletion classes/Employee.php
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ public function isSuperAdmin()
*/
public function getImage()
{
$defaultSystem = Tools::getAdminImageUrl('prestashop-avatar.png');
$defaultSystem = Tools::getAdminImageUrl('pr/default.jpg');
$imageUrl = null;

// Default from Profile
Expand Down
Binary file added img/pr/default.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/Adapter/Employee/AvatarProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ public function __construct(Tools $tools)
*/
public function getDefaultAvatarUrl()
{
return $this->tools->getAdminImageUrl('prestashop-avatar.png');
return $this->tools->getAdminImageUrl('pr/default.jpg');
}
}

0 comments on commit 0abd190

Please sign in to comment.