Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
242
Issues
242
List
Boards
Labels
Service Desk
Milestones
Merge Requests
31
Merge Requests
31
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Backend - Engine
Commits
4e58a8d4
Commit
4e58a8d4
authored
1 hour ago
by
Emiliano Balbuena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(feat): Get Pro Domain owner icon
parent
b087d084
epic/minds-pro
1 merge request
!308
WIP: (feat): Minds Pro
Pipeline
#81167254
failed with stages
in 4 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
Domain.php
Core/Pro/Domain.php
+15
-0
No files found.
Core/Pro/Domain.php
View file @
4e58a8d4
...
...
@@ -6,8 +6,10 @@
namespace
Minds\Core\Pro
;
use
Exception
;
use
Minds\Core\Config
;
use
Minds\Core\Di\Di
;
use
Minds\Entities\User
;
use
Zend\Diactoros\ServerRequest
;
class
Domain
...
...
@@ -54,4 +56,17 @@ class Domain
{
return
true
;
}
/**
* @param Settings $settings
* @return string
* @throws Exception
*/
public
function
getIcon
(
Settings
$settings
)
{
$owner
=
new
User
();
$owner
->
guid
=
$settings
->
getUserGuid
();
return
$owner
->
getIconURL
(
'large'
);
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment