Skip to content

Commit

Permalink
Fix PrivacyHelper loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Babker committed Apr 14, 2019
1 parent a0d7b07 commit 93c45ed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions administrator/components/com_privacy/Model/ExportModel.php
Expand Up @@ -21,11 +21,10 @@
use Joomla\CMS\Uri\Uri;
use Joomla\CMS\User\User;
use Joomla\Component\Privacy\Administrator\Export\Domain;
use Joomla\Component\Privacy\Administrator\Helper\PrivacyHelper;
use Joomla\Component\Privacy\Administrator\Table\RequestTable;
use PHPMailer\PHPMailer\Exception as phpmailerException;

JLoader::register('PrivacyHelper', JPATH_ADMINISTRATOR . '/components/com_privacy/helpers/privacy.php');

/**
* Export model class.
*
Expand Down
2 changes: 0 additions & 2 deletions administrator/components/com_privacy/Model/RemoveModel.php
Expand Up @@ -21,8 +21,6 @@
use Joomla\Component\Privacy\Administrator\Removal\Status;
use Joomla\Component\Privacy\Administrator\Table\RequestTable;

JLoader::register('PrivacyHelper', JPATH_ADMINISTRATOR . '/components/com_privacy/helpers/privacy.php');

/**
* Remove model class.
*
Expand Down

0 comments on commit 93c45ed

Please sign in to comment.