Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions administrator/components/com_joomlaupdate/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,5 @@
class="alert alert-info w-100"
showon="updatesource!:default[OR]minimum_stability!:4"
/>
<field
name="automated_updates_email"
type="text"
label="COM_JOOMLAUPDATE_CONFIG_AUTOUPDATE_UPDATE_EMAIL_LABEL"
description="COM_JOOMLAUPDATE_CONFIG_AUTOUPDATE_UPDATE_EMAIL_DESCRIPTION"
showon="updatesource:default[AND]minimum_stability:4[AND]autoupdate:1"
/>
</fieldset>
</config>
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,8 @@ public function sendNotification($type, $oldVersion): void
{
$params = ComponentHelper::getParams('com_joomlaupdate');

// Load the parameters.
$specificEmail = $params->get('automated_updates_email');

// Let's find out the email addresses to notify
$superUsers = [];

if (!empty($specificEmail)) {
$superUsers = $this->getSuperUsers($specificEmail);
}

if (empty($superUsers)) {
$superUsers = $this->getSuperUsers();
}
// Send a notification to all super users
$superUsers = $this->getSuperUsers();

if (empty($superUsers)) {
throw new \RuntimeException();
Expand Down
2 changes: 0 additions & 2 deletions administrator/language/en-GB/com_joomlaupdate.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ COM_JOOMLAUPDATE_CONFIG_AUTOMATED_UPDATES_DISABLED_LABEL="<span class=\"fa-fw me
COM_JOOMLAUPDATE_CONFIG_AUTOMATED_UPDATES_LABEL="Automated Updates"
COM_JOOMLAUPDATE_CONFIG_AUTOUPDATE_DESC="Automatically update Joomla to the latest version when it is available."
COM_JOOMLAUPDATE_CONFIG_AUTOUPDATE_LABEL="Automated Update"
COM_JOOMLAUPDATE_CONFIG_AUTOUPDATE_UPDATE_EMAIL_DESCRIPTION="A comma separated list of the email addresses which will receive the update notification emails. The addresses in the list MUST belong to existing users of your site who have the Super User privilege. If none of the listed emails belongs to Super Users, or if it's left blank, all Super Users of this site will receive the update notification email."
COM_JOOMLAUPDATE_CONFIG_AUTOUPDATE_UPDATE_EMAIL_LABEL="Super User Emails"
COM_JOOMLAUPDATE_CONFIG_BACKUPCHECK_DESC="Shows the checkbox to confirm you have taken a backup and you're ready to update in the final step before the update is actually applied."
COM_JOOMLAUPDATE_CONFIG_BACKUPCHECK_LABEL="Confirm Backup Checkbox"
COM_JOOMLAUPDATE_CONFIG_CUSTOMURL_LABEL="Custom URL"
Expand Down
Loading