Skip to content

Commit

Permalink
Tell the blog sampledata plugin to shut down when its not asked. (#22937
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Thomas Hunziker authored and laoneo committed Nov 5, 2018
1 parent 0b7d64d commit aef1ed5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/sampledata/blog/blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,11 @@ public function onAjaxSampledataApplyStep3()
*/
public function onAjaxSampledataApplyStep4()
{
if ($this->app->input->get('type') != $this->_name)
{
return;
}

$response['success'] = true;
$response['message'] = Text::_('PLG_SAMPLEDATA_BLOG_STEP4_SUCCESS');

Expand Down

0 comments on commit aef1ed5

Please sign in to comment.