Skip to content

Commit

Permalink
[!!!][TASK] Remove Google Plus after its shutdown (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott authored May 3, 2019
1 parent d427276 commit 70f4470
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 39 deletions.
23 changes: 0 additions & 23 deletions Classes/Domain/Model/Author.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ class Author extends AbstractEntity
*/
protected $twitter = '';

/**
* @var string
*/
protected $googleplus = '';

/**
* @var string
*/
Expand Down Expand Up @@ -287,24 +282,6 @@ public function setTwitter(string $twitter): self
return $this;
}

/**
* @return string
*/
public function getGoogleplus(): ?string
{
return $this->googleplus;
}

/**
* @param string $googleplus
* @return Author
*/
public function setGoogleplus(string $googleplus): self
{
$this->googleplus = $googleplus;
return $this;
}

/**
* @return string
*/
Expand Down
11 changes: 0 additions & 11 deletions Configuration/TCA/tx_blog_domain_model_author.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
email,
location,
twitter,
googleplus,
linkedin,
xing,
profile,
Expand Down Expand Up @@ -204,15 +203,6 @@
'eval' => '',
],
],
'googleplus' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_author.googleplus',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => '',
],
],
'linkedin' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_author.linkedin',
Expand Down Expand Up @@ -288,7 +278,6 @@
--palette--;' . $ll . 'tx_blog_domain_model_author.palette_contact;palette_contact,
--div--;' . $ll . 'tx_blog_domain_model_author.tab_social_media,
twitter,
googleplus,
linkedin,
xing,
profile,
Expand Down
3 changes: 0 additions & 3 deletions Resources/Private/Language/locallang_db.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,6 @@
<trans-unit id="tx_blog_domain_model_author.twitter" xml:space="preserve">
<source>Twitter username</source>
</trans-unit>
<trans-unit id="tx_blog_domain_model_author.googleplus" xml:space="preserve">
<source>Google+ profile URL</source>
</trans-unit>
<trans-unit id="tx_blog_domain_model_author.linkedin" xml:space="preserve">
<source>LinkIn profile URL</source>
</trans-unit>
Expand Down
1 change: 0 additions & 1 deletion Resources/Private/Partials/Post/Author.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ <h4 class="author-box-title">
<small class="author-social-links small">
<f:if condition="{author.website}"><a href="{author.website}" class="author-social-link website small" target="_blank"><i class="fa fa-2x fa-globe"></i></a></f:if>
<f:if condition="{author.twitter}"><a href="https://twitter.com/{author.twitter}" class="author-social-link twitter small" target="_blank"><i class="fa fa-2x fa-twitter"></i></a></f:if>
<f:if condition="{author.googleplus}"><a href="{author.googleplus}" class="author-social-link gplus small" target="_blank"><i class="fa fa-2x fa-google-plus"></i></a></f:if>
<f:if condition="{author.linkedin}"><a href="{author.linkedin}" class="author-social-link linkedin small" target="_blank"><i class="fa fa-2x fa-linkedin"></i></a></f:if>
<f:if condition="{author.xing}"><a href="{author.xing}" class="author-social-link xing small" target="_blank"><i class="fa fa-2x fa-xing"></i></a></f:if>
</small>
Expand Down
1 change: 0 additions & 1 deletion ext_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ CREATE TABLE tx_blog_domain_model_author (
avatar_provider varchar(255) DEFAULT '' NOT NULL,

twitter varchar(255) DEFAULT '' NOT NULL,
googleplus varchar(255) DEFAULT '' NOT NULL,
linkedin varchar(255) DEFAULT '' NOT NULL,
xing varchar(255) DEFAULT '' NOT NULL,
profile varchar(255) DEFAULT '' NOT NULL,
Expand Down

0 comments on commit 70f4470

Please sign in to comment.